package
Version:
v0.0.0-...-a51ba30
Opens a new window with list of versions in this module.
Published: Sep 12, 2018
License: GPL-3.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Debug(line string, params ...interface{})
Debug log to debug level
func Error(line string, params ...interface{})
Error log to error level
func ErrorAndExit(line string, params ...interface{})
func Info(line string, params ...interface{})
Info log to info level
Initialize loggers for each level
StubLogger sends all logs to /dev/null
func Warn(line string, params ...interface{})
Warn log to warn level
type LogOutput struct {
Lines []string
}
LogOutput store the log output as an array of lines
TestLogger applies a test logger to allow fetching of logoutput during tests
Source Files
¶
Click to show internal directories.
Click to hide internal directories.