Skip to content

cenkalti/log

 
 

Repository files navigation

log

Simple logging package in Go.

GoDoc

Install

$ go get github.com/cenkalti/log

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/cenkalti/log/blob/master/example/example.go