Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func InitLoggers ¶
InitLoggers initializes the loggers
func PrintLog ¶
func PrintLog(message string, printInLevel LogLevelType)
PrintLog prints the log according to the log level that is set in the flags
Types ¶
type LogLevelType ¶
type LogLevelType int
LogLevelType represents a type for the log levels
const ( // VerboseLevel logs debug, info, and error log messages VerboseLevel LogLevelType = iota // InfoLevel logs info and error log messages InfoLevel // QuietLevel logs error log messages QuietLevel )
var LogLevel LogLevelType
LogLevel specifies the used logging level
Click to show internal directories.
Click to hide internal directories.