summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/mattermost/mattermost-server/v5/mlog/levels.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2021-10-17 00:47:22 +0200
committerGitHub <noreply@github.com>2021-10-17 00:47:22 +0200
commit4dd8bae5c91fa4aef09d865d8fef1acd84f90925 (patch)
treeffad9b242daccaf8c86d1c1fbd59032302bd3be9 /vendor/github.com/mattermost/mattermost-server/v5/mlog/levels.go
parent7ae45c42e712bd0e66c101f3f714c05aa1dc2104 (diff)
downloadmatterbridge-msglm-4dd8bae5c91fa4aef09d865d8fef1acd84f90925.tar.gz
matterbridge-msglm-4dd8bae5c91fa4aef09d865d8fef1acd84f90925.tar.bz2
matterbridge-msglm-4dd8bae5c91fa4aef09d865d8fef1acd84f90925.zip
Update dependencies (#1610)
* Update dependencies * Update module to go 1.17
Diffstat (limited to 'vendor/github.com/mattermost/mattermost-server/v5/mlog/levels.go')
-rw-r--r--vendor/github.com/mattermost/mattermost-server/v5/mlog/levels.go39
1 files changed, 0 insertions, 39 deletions
diff --git a/vendor/github.com/mattermost/mattermost-server/v5/mlog/levels.go b/vendor/github.com/mattermost/mattermost-server/v5/mlog/levels.go
deleted file mode 100644
index 54bd2549..00000000
--- a/vendor/github.com/mattermost/mattermost-server/v5/mlog/levels.go
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
-// See LICENSE.txt for license information.
-
-package mlog
-
-// Standard levels
-var (
- LvlPanic = LogLevel{ID: 0, Name: "panic", Stacktrace: true}
- LvlFatal = LogLevel{ID: 1, Name: "fatal", Stacktrace: true}
- LvlError = LogLevel{ID: 2, Name: "error"}
- LvlWarn = LogLevel{ID: 3, Name: "warn"}
- LvlInfo = LogLevel{ID: 4, Name: "info"}
- LvlDebug = LogLevel{ID: 5, Name: "debug"}
- LvlTrace = LogLevel{ID: 6, Name: "trace"}
- // used by redirected standard logger
- LvlStdLog = LogLevel{ID: 10, Name: "stdlog"}
- // used only by the logger
- LvlLogError = LogLevel{ID: 11, Name: "logerror", Stacktrace: true}
-)
-
-// Register custom (discrete) levels here.
-// !!!!! ID's must not exceed 32,768 !!!!!!
-var (
- // used by the audit system
- LvlAuditAPI = LogLevel{ID: 100, Name: "audit-api"}
- LvlAuditContent = LogLevel{ID: 101, Name: "audit-content"}
- LvlAuditPerms = LogLevel{ID: 102, Name: "audit-permissions"}
- LvlAuditCLI = LogLevel{ID: 103, Name: "audit-cli"}
-
- // used by the TCP log target
- LvlTcpLogTarget = LogLevel{ID: 120, Name: "TcpLogTarget"}
-
- // add more here ...
-)
-
-// Combinations for LogM (log multi)
-var (
- MLvlAuditAll = []LogLevel{LvlAuditAPI, LvlAuditContent, LvlAuditPerms, LvlAuditCLI}
-)