Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2020-12-08 00:38:37 +03:00
parent f63ff80d46
commit b7b28f6b9a
29 changed files with 138 additions and 85 deletions

View File

@@ -4,6 +4,7 @@ import (
"fmt"
)
// Level means logger level
type Level int8
const (
@@ -22,6 +23,7 @@ const (
FatalLevel
)
// String returns logger level string representation
func (l Level) String() string {
switch l {
case TraceLevel: