// Success is used to print a success message in bold green color.
// Info is  printed regardless of log level.
Success is used to print a success message in bold green color.
Info is  printed regardless of log level.
// Success is used to print a success message in bold green color . // Info is printed regardless of log level .
func (cl *CLogger) Success(a ...interface{}) {
	msg := fmt.Sprint(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 ) Success ( a ... interface { } ) { msg := fmt . Sprint ( 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 ) }
Success is used to print a success message in bold green color.
Success is used to print a success message in bold green color .