Documentation
¶
Overview ¶
Package logs output logs and advanced debug information
Index ¶
- func DebugLog(args ...interface{})
- func ErrorLog(err error, args ...interface{})
- func ErrorLogHandler(err error, args ...interface{})
- func ErrorStack(err error, args ...interface{})
- func Fatal(err error, args ...interface{})
- func NewWrapKitLogger(pref string, depth int) *wrapKitLogger
- func NewlogMess(mess string, logger *wrapKitLogger) *logMess
- func SetDebug(d bool) bool
- func SetStackBeginWith(s int) int
- func SetStatus(s bool) bool
- func StatusLog(args ...interface{})
- func TraceLog(args ...interface{})
- type Level
- type LogsType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DebugLog ¶
func DebugLog(args ...interface{})
DebugLog output formated(function and line calls) debug information
func ErrorLog ¶
func ErrorLog(err error, args ...interface{})
ErrorLog - output formatted (function and line calls) error information
func ErrorLogHandler ¶
func ErrorLogHandler(err error, args ...interface{})
ErrorLogHandler - output formated(function and line calls) error information
func ErrorStack ¶
func ErrorStack(err error, args ...interface{})
ErrorStack - output formatted(function and line calls) error runtime stack information
func Fatal ¶
func Fatal(err error, args ...interface{})
Fatal - output formated (function and line calls) fatal information
func NewWrapKitLogger ¶
func NewlogMess ¶
func NewlogMess(mess string, logger *wrapKitLogger) *logMess
func SetStackBeginWith ¶
SetStackBeginWith set stackBeginWith level for log, return old value
Types ¶
Click to show internal directories.
Click to hide internal directories.