Documentation ¶
Index ¶
- func Debug(args ...interface{})
- func Error(args ...interface{})
- func Fatal(args ...interface{})
- func Info(args ...interface{})
- func Panic(args ...interface{})
- func SetLogLevel(level string)
- func Warn(args ...interface{})
- func WriteToFile(fileName string) error
- func WriteToFileAndConsole(fileName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Fatal ¶
func Fatal(args ...interface{})
Fatal logs a message with fatal level and then calls os.Exit(1)
func Panic ¶
func Panic(args ...interface{})
Panic logs a message with panic level and then calls panic()
func WriteToFile ¶
WriteToFile writes the log output to a file
func WriteToFileAndConsole ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.