mirror of
https://github.com/1Password/onepassword-operator.git
synced 2025-10-22 15:38:06 +00:00
Noving log levels to variables
This commit is contained in:
13
pkg/logs/log_levels.go
Normal file
13
pkg/logs/log_levels.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package logs
|
||||
|
||||
// A Level is a logging priority. Lower levels are more important.
|
||||
// All levels have been multipled by -1 to ensure compatibilty
|
||||
// between zapcore and logr
|
||||
type Level int
|
||||
|
||||
const (
|
||||
ErrorLevel Level = iota - 2
|
||||
WarnLevel
|
||||
InfoLevel
|
||||
DebugLevel
|
||||
)
|
Reference in New Issue
Block a user