Documentation ¶
Index ¶
- func Error(s string)
- func Errorf(s string, i ...interface{})
- func Fatal(s string)
- func Fatalf(s string, i ...interface{})
- func Info(s string)
- func Infof(s string, i ...interface{})
- func Print(s string)
- func Printf(s string, i ...interface{})
- func Println(i ...interface{})
- func Set(hook ContextHook, fileLoc string, debug bool, setReport bool) error
- func SetLoggerLevel(debug bool)
- func SetLoggerLoc(loc string) error
- func Warn(s string)
- func Warnf(s string, i ...interface{})
- type ContextHook
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Set ¶
func Set(hook ContextHook, fileLoc string, debug bool, setReport bool) error
Set modifies the logger
func SetLoggerLevel ¶ added in v0.1.7
func SetLoggerLevel(debug bool)
SetLoggerLevel sets the logger level
func SetLoggerLoc ¶
SetLoggerLoc sets the file location of the logger
Types ¶
type ContextHook ¶
type ContextHook struct{}
ContextHook ...
Click to show internal directories.
Click to hide internal directories.