Guy Harel
01/21/2024, 12:40 PMKetan (kumare3)
Ketan (kumare3)
Guy Harel
01/22/2024, 10:25 AMChris Grass
01/22/2024, 2:33 PMHowever, my log file is filled with "info" level messagesi think 4 ==
Info
in the Go code:
const (
// PanicLevel level, highest level of severity. Logs and then calls panic with the
// message passed to Debug, Info, ...
PanicLevel Level = iota
// FatalLevel level. Logs and then calls `logger.Exit(1)`. It will exit even if the
// logging level is set to Panic.
FatalLevel
// ErrorLevel level. Logs. Used for errors that should definitely be noted.
// Commonly used for hooks to send errors to an error tracking service.
ErrorLevel
// WarnLevel level. Non-critical entries that deserve eyes.
WarnLevel
// InfoLevel level. General operational entries about what's going on inside the
// application.
InfoLevel
// DebugLevel level. Usually only enabled when debugging. Very verbose logging.
DebugLevel
// TraceLevel level. Designates finer-grained informational events than the Debug.
TraceLevel
)
Guy Harel
01/25/2024, 3:35 PMChris Grass
01/25/2024, 3:36 PMGuy Harel
01/25/2024, 3:37 PM