Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 606 Bytes

README.md

File metadata and controls

30 lines (19 loc) · 606 Bytes

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