Structured logging package for Go.
Go Makefile
Switch branches/tags
Nothing to show
Clone or download
tj Merge pull request #63 from patrickmn/handlers-cli-show-nonstring-fields
handlers/cli: Show non-string fields appropriately
Latest commit 941dea7 Jul 2, 2018

Readme.md

Structured logging for golang

Package log implements a simple structured logging API inspired by Logrus, designed with centralization in mind. Read more on Medium.

Handlers

  • cli – human-friendly CLI output
  • discard – discards all logs
  • es – Elasticsearch handler
  • graylog – Graylog handler
  • json – JSON output handler
  • kinesis – AWS Kinesis handler
  • level – level filter handler
  • logfmt – logfmt plain-text formatter
  • memory – in-memory handler for tests
  • multi – fan-out to multiple handlers
  • papertrail – Papertrail handler
  • text – human-friendly colored output
  • delta – outputs the delta between log calls and spinner

Build Status GoDoc