f2prateek / log

Structured logging package for Go.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Build Status GoDoc

About

Structured logging package for Go.

License:MIT License


Languages

Language:Go 99.8%Language:Makefile 0.2%