implemented output on/off by CurrentLevel setting

This commit is contained in:
2022-07-28 12:49:15 -04:00
parent d3d9306aeb
commit 30050a6815
2 changed files with 44 additions and 19 deletions

View File

@@ -15,13 +15,14 @@ import (
type LogLevel int
const (
Panic LogLevel = iota
Trace
Debug
Info
Warn
Error
Fatal
LevelLoggerOff LogLevel = iota
PanicLevel
TraceLevel
DebugLevel
InfoLevel
WarnLevel
ErrorLevel
FatalLevel
)
// type LevelLogger interface {