golang-github-spf13-jwalterweatherman-dev

Go library for both printing to the terminal and logging to files
  https://github.com/spf13/jwalterweatherman
  0
  no reviews



Jwalterweatherman provides seamless printing to the terminal (stdout) and logging to a io.writer (file) that's as easy to use as fmt.println.

jww is primarily a wrapper around the excellent go standard log library. it provides a few advantages over using the standard log library alone:

* one library for both printing to the terminal and logging (to files).
* allow the user to easily control what levels are printed and logged
* no unnecessary initialization cruft. just use it.