/go-logging

Simple logging package for Go

Primary LanguageGoMIT LicenseMIT

logging

Simple logging package in Go used at Cabify. Originally forked from cenkalti/log

GoDoc

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