summaryrefslogtreecommitdiff
path: root/plugins/logger
diff options
context:
space:
mode:
authorbricelalu <[email protected]>2021-04-03 16:26:48 +0200
committerbricelalu <[email protected]>2021-04-03 16:35:39 +0200
commit68a8cd78ba52f90ae263e970fbfa8920207e8b5d (patch)
tree2afa9a6e4da7bd0a26665b701cd5e94011eb059e /plugins/logger
parent2feb852ce0a5d29f9ad9c5cb5329de3ce00e7955 (diff)
test: [Logger] add test for raw mode
Signed-off-by: bricelalu <[email protected]>
Diffstat (limited to 'plugins/logger')
-rw-r--r--plugins/logger/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/logger/config.go b/plugins/logger/config.go
index 284ab6ea..bfe45f78 100644
--- a/plugins/logger/config.go
+++ b/plugins/logger/config.go
@@ -50,7 +50,7 @@ func (cfg *Config) BuildLogger() (*zap.Logger, error) {
zCfg = zap.NewProductionConfig()
case "development":
zCfg = zap.NewDevelopmentConfig()
- case "clean":
+ case "raw":
zCfg = zap.Config{
Level: zap.NewAtomicLevelAt(zap.DebugLevel),
Encoding: "console",