summaryrefslogtreecommitdiff
path: root/plugins/logger/enums.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-06-09 14:24:04 +0300
committerGitHub <[email protected]>2021-06-09 14:24:04 +0300
commit8fdf05d4f360a9f6344141b273eab9d6859470e0 (patch)
treee4fc512aae21136d897832591cf25ccbb176e9af /plugins/logger/enums.go
parenta723cedba199a1c50dca05630b53139ee456ace8 (diff)
parent05e7925fbecb3e9f41f1a07fa459046ad0b16fc7 (diff)
#714 feat(logger): file logger with log rotation support
#714 feat(logger): file logger with log rotation support
Diffstat (limited to 'plugins/logger/enums.go')
-rw-r--r--plugins/logger/enums.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/logger/enums.go b/plugins/logger/enums.go
new file mode 100644
index 00000000..803eace0
--- /dev/null
+++ b/plugins/logger/enums.go
@@ -0,0 +1,12 @@
+package logger
+
+// Mode represents available logger modes
+type Mode string
+
+const (
+ none Mode = "none"
+ off Mode = "off"
+ production Mode = "production"
+ development Mode = "development"
+ raw Mode = "raw"
+)