func GetLogger(log T, seelogConfig string) (logger seelog.LoggerInterface) {
	logger, err := seelog.LoggerFromConfigAsBytes([]byte(seelogConfig))
	if err != nil {
		logger, _ = seelog.LoggerFromConfigAsBytes(DefaultConfig())
	}
	defer logger.Flush()

	err = seelog.ReplaceLogger(logger)
	if err != nil {
		log.Debugf("Error is %v", err.Error())
	}
	return logger
}
// GetLogger creates a new logger with the provided config and returns it
GetLogger creates a new logger with the provided config and returns it
// GetLogger creates a new logger with the provided config and returns it
func GetLogger(log T, seelogConfig string) (logger seelog.LoggerInterface) {
	logger, err := seelog.LoggerFromConfigAsBytes([]byte(seelogConfig))
	if err != nil {
		logger, _ = seelog.LoggerFromConfigAsBytes(DefaultConfig())
	}
	defer logger.Flush()
	err = seelog.ReplaceLogger(logger)
	if err != nil {
		log.Debugf("Error is %v", err.Error())
	}
	return logger
}
func GetLogger ( log T , seelogConfig string ) ( logger seelog . LoggerInterface ) { logger , err := seelog . LoggerFromConfigAsBytes ( [ ] byte ( seelogConfig ) ) if err != nil { logger , _ = seelog . LoggerFromConfigAsBytes ( DefaultConfig ( ) ) } defer logger . Flush ( ) err = seelog . ReplaceLogger ( logger ) if err != nil { log . Debugf ( " " , err . Error ( ) ) } return logger }
GetLogger creates a new logger with the provided config and returns it
GetLogger creates a new logger with the provided config and returns it