github.com/psyb0t/glogger (go): Package glogger provides a logger that can be used to write log messages to an output destination, such as the standard output or a file. It has various levels of log severity (e.g. debug, info, warning, error, fatal) and the following formats: inline-string, json.  The global variables output, logFormat, and logLevel control the output destination, format, and minimum severity level of log messages, respectively. You can set these variables using the functions SetOutput, SetLogFormat, and SetLogLevel.  The function _print writes the given message to the output destination. The functions Debug, Info, Warn, Error, and Fatal write log messages with the corresponding severity levels, if the log level of the message is equal to or higher than the minimum log level set.
Keywords: golang|golang-package|logger|logging