Path to this page:
NOTICE: This package has been removed from pkgsrc./
devel/go-jwalterweatherman,
Seamless printing to the terminal and io.Writer
Branch: CURRENT,
Version: 20181028nb25,
Package name: go-jwalterweatherman-20181028nb25,
Maintainer: pkgsrc-usersjWalterWeatherman
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.
Required to build:[
pkgtools/cwrappers] [
lang/go114]
Master sites:
Version history: (Expand)
- (2021-07-06) Package deleted from pkgsrc
- (2021-06-06) Updated to version: go-jwalterweatherman-20181028nb25
- (2021-05-08) Updated to version: go-jwalterweatherman-20181028nb24
- (2021-03-19) Updated to version: go-jwalterweatherman-20181028nb23
- (2021-01-23) Updated to version: go-jwalterweatherman-20181028nb22
- (2020-11-13) Updated to version: go-jwalterweatherman-20181028nb21
CVS history: (Expand)