./devel/go-jwalterweatherman, Seamless printing to the terminal and io.Writer

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 20170523, Package name: go-jWalterWeatherman-20170523, Maintainer: pkgsrc-users

jWalterWeatherman

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 standard log library. It
provides a few advantages over using the standard log library alone.

1. Ready to go out of the box.
2. One library for both printing to the terminal and logging (to files).
3. Really easy to log to either a temp file or a file you specify.

I really wanted a very straightforward library that could seamlessly do the
following things.

1. Replace all the println, printf, etc statements thought my code with
something more useful
2. Allow the user to easily control what levels are printed to stdout
3. Allow the user to easily control what levels are logged
4. Provide an easy mechanism (like fmt.Println) to print info to the user
which can be easily logged as well
5. Due to 2 & 3 provide easy verbose mode for output and logs
6. Not have any unnecessary initialization cruft. Just use it.


Master sites:


Version history: (Expand)


CVS history: (Expand)


   2017-08-25 19:03:28 by Jonathan Perkin | Files touched by this commit (35)
Log message:
Improve COMMENT lines and satisfy pkglint.
   2017-08-25 18:49:15 by Jonathan Perkin | Files touched by this commit (93)
Log message:
Remove trailing empty lines.
   2017-08-25 18:30:26 by Jonathan Perkin | Files touched by this commit (35)
Log message:
Fix formatting of go DESCR files.  Some of the contents still leave a lot to be
desired.
   2017-08-17 03:31:19 by Gavan Fantom | Files touched by this commit (5)
Log message:
Add go-jwalterweatherman package