// Successf is used to print a formatted success message in bold green color.
// Info is printed regardless of log level.
Successf is used to print a formatted success message in bold green color.
Info is printed regardless of log level.
// Successf is used to print a formatted success message in bold green color . // Info is printed regardless of log level .
func (cl *CLogger) Successf(format string, a ...interface{}) {
	msg := fmt.Sprintf(format, a...)
	oldPrefix := cl.GetPrefix()
	cl.SetPrefix(oldPrefix, Bold)
	if err := cl.Logger.Output(callDepth, getColoredMsg(msg, Bold, FgHiGreen)); err != nil {
		log.Fatalln(err)
	}
	cl.SetPrefix(oldPrefix)
}
func ( cl * CLogger ) Successf ( format string , a ... interface { } ) { msg := fmt . Sprintf ( format , a ... ) oldPrefix := cl . GetPrefix ( ) cl . SetPrefix ( oldPrefix , Bold ) if err := cl . Logger . Output ( callDepth , getColoredMsg ( msg , Bold , FgHiGreen ) ) ; err != nil { log . Fatalln ( err ) } cl . SetPrefix ( oldPrefix ) }
Successf is used to print a formatted success message in bold green color.
Successf is used to print a formatted success message in bold green color .