func newLogger() *logging.Logger { format := "%25s [%s] %8s: %s\n time,name,levelname,message" timeFormat := time.RFC3339 level := logging.GetLevelValue(`INFO`) logger, _ := logging.WriterLogger("lazlo", level, format, timeFormat, os.Stdout, true) return logger }
func newLogger() *logging.Logger { format := "%25s [%s] %8s: %s\n time,name,levelname,message" timeFormat := time.RFC3339 levelStr := strings.ToUpper(Config.LogLevel) level := logging.GetLevelValue(levelStr) logger, _ := logging.WriterLogger("hal", level, format, timeFormat, os.Stdout, true) return logger }