Deprecated
The development of this library is discontinued and we encourage you to avoid using it in new projects. There are better alternatives out there.
logging
Simple logging package in Go used at Cabify. Originally forked from cenkalti/log
Install
$ go get github.com/cabify/go-logging
Features
- Log levels (DEBUG, INFO, NOTICE, WARNING, ERROR, CRITICAL)
- Different colored output for different log levels
- Customizable logging handlers
- Customizable formatters
- Log to multiple backends concurrently
Example Usage
See https://github.com/cabify/go-logging/blob/master/example/example.go