Skip to content

Latest commit

 

History

History

logx

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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