Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 590 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 590 Bytes

package logx

package logx is a minimal log package inspired by logrus and zap that follows these Dave Cheney guidelines.

Features:

  • pluggable io.Writer with the WithWriter decorator, default is os.Stdout
  • 2 marshallers available, a logstash one and a human-readable one
  • support debug info and error levels, and a WithLevel decorator to change the level
  • support structured fields
  • provides a Dummy logger for testing purposes