diff --git a/.env.example b/.env.example index 2922659..336659c 100644 --- a/.env.example +++ b/.env.example @@ -37,6 +37,7 @@ HEALTH_CHECK_TIMEOUT=20 #################### # CLIENT_LOGS_LEVEL values: +# -1 -> No log # 0 -> Standard output # (default) 1 -> Errors + 0 # 2 -> Detailed + 1 diff --git a/pkg/types/log-level.go b/pkg/types/log-level.go index 7abfd71..7294349 100644 --- a/pkg/types/log-level.go +++ b/pkg/types/log-level.go @@ -1,7 +1,7 @@ package types // LogLevel is used to check if a message must be shown. -type LogLevel uint +type LogLevel int const ( // StandardLog shows only successful operations.