diff options
author | Valery Piashchynski <[email protected]> | 2021-06-09 13:32:34 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-06-09 13:32:34 +0300 |
commit | 3ec3306730455b6c5c423d130ebc322757661487 (patch) | |
tree | 1acfe544effb563a06e133a13be1faac6b3fddbb /plugins/logger/enums.go | |
parent | a723cedba199a1c50dca05630b53139ee456ace8 (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.go | 12 |
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" +) |