Documentation
¶
Index ¶
Constants ¶
View Source
const ( DebugLevel string = "debug" InfoLevel string = "info" WarningLevel string = "warn" ErrorLevel string = "error" PanicLevel string = "panic" DebugCode LevelCode = 5 InfoCode LevelCode = 4 WarningCode LevelCode = 3 PanicCode LevelCode = 2 ErrorCode LevelCode = 1 )
Defining all the log levels and assigning them a unique digit which can be used for enabling the log level
Variables ¶
This section is empty.
Functions ¶
func Error ¶
func Error(msgs ...interface{})
Error should always print to screen and exit after that
Types ¶
Click to show internal directories.
Click to hide internal directories.