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
debuginfo and error levels, and aWithLevel
decorator to change the level - support structured fields
- provides a Dummy logger for testing purposes