https://github.com/bwplotka/sgl
Simplistic Go logging library that is focused only what's important!
https://github.com/bwplotka/sgl
go golang library logging simple
Last synced: 10 months ago
JSON representation
Simplistic Go logging library that is focused only what's important!
- Host: GitHub
- URL: https://github.com/bwplotka/sgl
- Owner: bwplotka
- License: apache-2.0
- Created: 2017-04-01T23:55:36.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-12T07:16:10.000Z (over 8 years ago)
- Last Synced: 2025-02-09T23:16:18.297Z (12 months ago)
- Topics: go, golang, library, logging, simple
- Language: Go
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sgl [](https://travis-ci.org/Bplotka/sgl) [](https://goreportcard.com/report/github.com/Bplotka/sgl)
## What?
Simplistic Go logging library that is focused only what's important!
## Why?
Most of the existing libraries have too many features and in the same way lacking of feature that
was important in my point of view. I would love to use std one.. but it is too simple (: (waiting for update in next versions of Go).
So why using unsuitable one, if you can write your own based on your experience and good habits?
## How?
Inspired by [logrus](https://github.com/sirupsen/logrus), [this](https://dave.cheney.net/2015/11/05/lets-talk-about-logging) post and lots of internal loggers I had occasion to use.
- [X] Levels
- [X] Structured logging
- [X] Tests
- [x] CI
- [ ] Comments
- [ ] GoDoc
- [ ] Remote logging (with gRPC?)