An open API service indexing awesome lists of open source software.

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!

Awesome Lists containing this project

README

          

# sgl [![Build Status](https://travis-ci.org/Bplotka/sgl.svg?branch=master)](https://travis-ci.org/Bplotka/sgl) [![Go Report Card](https://goreportcard.com/badge/github.com/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?)