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

Property Value
Distribution NetBSD 7.1
Repository NetBSD i386
Package filename go-jwalterweatherman-20181028nb6.tgz
Package name go-jwalterweatherman
Package version 20181028nb6
Package release -
Package architecture i386
Package type tgz
Category devel
Homepage https://github.com/spf13/jwalterweatherman
License mit
Maintainer -
Download size 28.62 KB
Installed size 92.16 KB
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.


Package Version Architecture Repository
go-jwalterweatherman-20181028nb6.tgz 20181028nb6 amd64 NetBSD
go-jwalterweatherman - - -


Type URL
Mirror ftp.netbsd.org
Binary Package go-jwalterweatherman-20181028nb6.tgz
Source Package go-jwalterweatherman

Install Howto

Install go-jwalterweatherman tgz package:

# pkg_add go-jwalterweatherman

See Also

Package Description
go-kingpin.v3-unstable- Golang command line and flag parser, unstable v3
go-ldap-3.0.3nb1.tgz Basic LDAP v3 functionality for the GO programming language
go-libsass- Go wrapper for libsass, the only Sass 3.5 compiler for Go
go-locker- Golang package using named read/write locks
go-logrus-1.0.6nb7.tgz Structured, pluggable logging for Go
go-mapstructure-0.0.20160212nb10.tgz Library for decoding generic map values into native structures
go-mapstructure-bep-0.0.20180511nb6.tgz Library for decoding generic map values into native structures
go-md2man-1.0.8nb7.tgz Uses blackfriday to process markdown into man pages
go-minify-2.3.8nb6.tgz Go minifiers for web formats
go-mmark-1.3.6nb10.tgz Mmark: a powerful markdown processor in Go geared towards the IETF
go-mow-cli-0.0.20160221nb15.tgz Versatile library for building CLI applications in Go
go-nbreader-0.0.20150201nb16.tgz Go library providing a non-blocking reader
go-net-20170308nb11.tgz Supplementary network libraries for Go
go-nitro-0.0.20131003nb10.tgz Quick and easy performance analyzer library
go-oauth2-20151204nb17.tgz OAuth 2 library for Go