// Debug is used to print debug message in hi-intensity green color.
// Message is only printed if the log level is set to lesser or equal to DEBUG.
Debug is used to print debug message in hi-intensity green color.
Message is only printed if the log level is set to lesser or equal to DEBUG.
// Debug is used to print debug message in hi - intensity green color . // Message is only printed if the log level is set to lesser or equal to DEBUG .
func (cl *CLogger) Debug(a ...interface{}) {
	if LogLevel <= DEBUG {
		msg := fmt.Sprint(a...)
		if err := cl.Logger.Output(callDepth, getColoredMsg(msg, FgHiGreen)); err != nil {
			log.Fatalln(err)
		}
	}
}
func ( cl * CLogger ) Debug ( a ... interface { } ) { if LogLevel <= DEBUG { msg := fmt . Sprint ( a ... ) if err := cl . Logger . Output ( callDepth , getColoredMsg ( msg , FgHiGreen ) ) ; err != nil { log . Fatalln ( err ) } } }
Debug is used to print debug message in hi-intensity green color.
Debug is used to print debug message in hi - intensity green color .