Documentation ¶
Index ¶
Constants ¶
View Source
const ( // LEVEL_DEBUG = 0 LEVEL_DEBUG = iota // LEVEL_INFO = 1 LEVEL_INFO // LEVEL_WARNING = 2 LEVEL_WARNING // LEVEL_ERROR = 3 LEVEL_ERROR // LEVEL_CRITICAL = 4 LEVEL_CRITICAL )
View Source
const ( ErrorColor = "\033[31m" WarnColor = "\033[33m" )
Variables ¶
View Source
var ( // ErrInvalidLogLevel is used when an invalid log level has been used. ErrInvalidLogLevel = errors.New("invalid log level") )
Functions ¶
func PrintlnError ¶
func PrintlnInfo ¶
func PrintlnWarn ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.