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

https://github.com/cabify/go-logging

Simple logging package for Go [managed by soy-programador]
https://github.com/cabify/go-logging

Last synced: 6 months ago
JSON representation

Simple logging package for Go [managed by soy-programador]

Awesome Lists containing this project

README

          

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](https://github.com/cenkalti/log)

[![GoDoc](https://godoc.org/github.com/cabify/go-logging?status.png)](https://godoc.org/github.com/cabify/go-logging)

Install
-------

```sh
$ 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](https://github.com/cabify/go-logging/blob/master/example/example.go)