Documentation
¶
Index ¶
Constants ¶
View Source
const ( NoLog = iota Critical Error Warn Info Debug Trace )
Log levels accepted by GenerateConfig and SetupLogger.
Variables ¶
This section is empty.
Functions ¶
func GenerateConfig ¶
GenerateConfig will generate the seelog xml file and spit it out to stdout.
func SetupConsoleLogger ¶
func SetupConsoleLogger(outTo Level) (logger log.LoggerInterface, err error)
SetupLogger will setup a seelog logger that only outputs to stdout to a specific log level. Call ReplaceLogger with this logger from seelog to use this logger.
func SetupLogger ¶
SetupLogger will setup a seelog logger to a specific log level and will output to stdout to a specific log level. Call ReplaceLogger with this logger from seelog to use this logger.
Types ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
examples
|
|
|
errorlogger
command
|
|
|
infologger
command
|
|
|
nologfile
command
|
|
|
nologger
command
|
|
|
tracelogger
command
|
Click to show internal directories.
Click to hide internal directories.