mirror of
https://github.com/zevenet/kube-nftlb.git
synced 2025-10-27 07:29:25 +00:00
[Improvement] Disable logs when log level -1 is set
This commit is contained in:
parent
454990a6f8
commit
ba4be1f928
@ -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
|
||||
|
||||
@ -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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user