package
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Apr 28, 2019
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 4
Opens a new window with list of known importers.
Documentation
¶
Package log is a wrapper around github.com/Sirupsen/logrus to enable formatted
options to be the same globally.
func Debug(args ...interface{})
Debug will send a log message to the debug level.
func Error(args ...interface{})
Error will send a log message to the error level.
func Fatal(args ...interface{})
Fatal will send a log message to the fatal level.
func Info(args ...interface{})
Info will send a log message to the info level.
func Panic(args ...interface{})
Panic will send a log message to the panic level.
func Printf(format string, args ...interface{})
Printf will print a standard log message
func Warn(args ...interface{})
Warn will send a log message to the warn level.
WithFields adds fields to a log message.
type Fields map[string]interface{}
Fields are a map of fields to print out in a log message.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.