[Improvement] Disable logs when log level -1 is set

This commit is contained in:
AquoDev 2020-10-27 09:08:28 +01:00
parent 454990a6f8
commit ba4be1f928
No known key found for this signature in database
GPG Key ID: 27C4524C2511DF26
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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.