Skip to content

ricardoarchive/go-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GO-LOGGER

go-logger provides a simple way to log messages through stderr and stdout with a minimal set of configuration.

Quick start

// initialization (optional)
logger.InitLogger(true)

// use of logger
logger.Error("My error message")

logger.Info("My info message")

logger.Debug("My debug message") // only if verbose is true

Error() publish to stderr, Info() and Debug() publish to stdout

Features

  • Simple logger to use
  • Publish to stderr and stdout messages

License

go-logger is licensed under the MIT license. (http://opensource.org/licenses/MIT)

Contributing

Pull requests are the way to help us here. We will be really gratefull.

About

Thin wrapper around zap with convenience methods for logging to standard output and error streams

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages