// Infof is used to print formatted info message in green color.
// It can be used to print the message with normal severity.
// Message is only printed if the log level is set to lesser or equal to INFO.
Infof is used to print formatted info message in green color.
It can be used to print the message with normal severity.
Message is only printed if the log level is set to lesser or equal to INFO.
// Infof is used to print formatted info message in green color . // It can be used to print the message with normal severity . // Message is only printed if the log level is set to lesser or equal to INFO .
func (cl *CLogger) Infof(format string, a ...interface{}) {
	if LogLevel <= INFO {
		msg := fmt.Sprintf(format, a...)
		if err := cl.Logger.Output(callDepth, getColoredMsg(msg, FgGreen)); err != nil {
			log.Fatalln(err)
		}
	}
}
func ( cl * CLogger ) Infof ( format string , a ... interface { } ) { if LogLevel <= INFO { msg := fmt . Sprintf ( format , a ... ) if err := cl . Logger . Output ( callDepth , getColoredMsg ( msg , FgGreen ) ) ; err != nil { log . Fatalln ( err ) } } }
Infof is used to print formatted info message in green color.
Infof is used to print formatted info message in green color .