Documentation ¶
Index ¶
- Constants
- func Depth(level Severity, format string, depth int, args ...interface{})
- func Error(format string, args ...interface{})
- func ErrorDepth(format string, depth int, args ...interface{})
- func Flush()
- func Info(format string, args ...interface{})
- func InfoDepth(format string, depth int, args ...interface{})
- func Panic(info interface{})
- func PanicDepth(format string, depth int, args ...interface{})
- func SetLogDir(dir string)
- func SetLogLevel(level string)
- func Warning(format string, args ...interface{})
- func WarningDepth(format string, depth int, args ...interface{})
- type Severity
- type XLog
Constants ¶
View Source
const ( InfoLog Severity = iota WarningLog ErrorLog FatalLog NumSeverity SInfoLog = "info" SWarningLog = "warning" SErrorLog = "error" SFatalLog = "fatal" )
Variables ¶
This section is empty.
Functions ¶
func ErrorDepth ¶
func PanicDepth ¶
func SetLogLevel ¶
func SetLogLevel(level string)
func WarningDepth ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.