diff options
| author | Kyren223 <ulmliad223@gmail.com> | 2024-10-09 20:13:21 +0300 |
|---|---|---|
| committer | Kyren223 <ulmliad223@gmail.com> | 2024-10-09 20:13:21 +0300 |
| commit | 6a157c52540035fa7285ed77bb191c47310671f3 (patch) | |
| tree | b0420b58f106124799c7c041f967aad12359cab1 /internal/utils/log/level.go | |
| parent | d89fb02b15a5e1deac96106970b847c5ea827b9b (diff) | |
feat: add Fatal to logger
Diffstat (limited to 'internal/utils/log/level.go')
| -rw-r--r-- | internal/utils/log/level.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/utils/log/level.go b/internal/utils/log/level.go index 7b68b0c..1d3ca1b 100644 --- a/internal/utils/log/level.go +++ b/internal/utils/log/level.go @@ -12,6 +12,8 @@ func (l Level) String() string { return "WARN" case LevelError: return "ERROR" + case LevelFatal: + return "FATAL" default: return "" } @@ -22,4 +24,5 @@ const ( LevelInfo Level = 0 LevelWarn Level = 4 LevelError Level = 8 + LevelFatal Level = 12 ) |
