summaryrefslogtreecommitdiff
path: root/plugins/logger/enums.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-06-09 13:32:34 +0300
committerValery Piashchynski <[email protected]>2021-06-09 13:32:34 +0300
commit3ec3306730455b6c5c423d130ebc322757661487 (patch)
tree1acfe544effb563a06e133a13be1faac6b3fddbb /plugins/logger/enums.go
parenta723cedba199a1c50dca05630b53139ee456ace8 (diff)
- Add support for the file logger with log rotation and compression
Signed-off-by: Valery Piashchynski <[email protected]>
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"
+)