Skip to content

bgp59/logrusx

Repository files navigation

A logrus Extension Module

logrusx provides the following additional features:

  • file logging via lumberjack

  • source file path logging relative to the module root. See internal

  • YAML loadable configuration

  • command line loadable configuration

  • support for testing whereby the log output is collected and it is displayed via testing.T.Log at the end, only in case of error or enabled verbosity. See testutils

Although anyone is welcome to use it, this module is not intended for public consumption, hence the lack of polished documentation. See example in lieu of reference documentation.

About

An extension for logrus

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors