Documentation ¶
Index ¶
- func Debug(msg ...interface{})
- func Debugf(format string, v ...interface{})
- func DebugfWithDepth(depth int, format string, v ...interface{})
- func Error(msg ...interface{})
- func Errorf(format string, v ...interface{})
- func ErrorfWithDepth(depth int, format string, v ...interface{})
- func Fatal(msg ...interface{})
- func Fatalf(format string, v ...interface{})
- func FatalfWithDepth(depth int, format string, v ...interface{})
- func Flush()
- func Info(msg ...interface{})
- func Infof(format string, v ...interface{})
- func InfofWithDepth(depth int, format string, v ...interface{})
- func Warning(msg ...interface{})
- func Warningf(format string, v ...interface{})
- func WarningfWithDepth(depth int, format string, v ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debug ¶
func Debug(msg ...interface{})
Functions to log at various levels. Debug, Info, Warning, Error, and Fatal use fmt.Sprint to format the arguments. Functions ending in f use fmt.Sprintf to format the arguments. Functions ending in WithDepth allow the caller to change where the stacktrace starts. 0 (the default in all other calls) means to report starting at the caller. 1 would mean one level above, the caller's caller. 2 would be a level above that and so on.
func DebugfWithDepth ¶
func ErrorfWithDepth ¶
func FatalfWithDepth ¶
func InfofWithDepth ¶
func WarningfWithDepth ¶
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package nooplogging has an sklogimpl.Logger that does no logging.
|
Package nooplogging has an sklogimpl.Logger that does no logging. |
Package stdlogging implements sklogimpl.Logger and logs to either stderr or stdout.
|
Package stdlogging implements sklogimpl.Logger and logs to either stderr or stdout. |
Click to show internal directories.
Click to hide internal directories.