mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
General comments, fix misspellings and lints
This commit is contained in:
parent
124139c097
commit
1c0c4841a1
9 changed files with 81 additions and 38 deletions
|
|
@ -32,6 +32,7 @@ const (
|
|||
)
|
||||
|
||||
var (
|
||||
// LogLevelNames takes a config name and gives the real log level.
|
||||
LogLevelNames = map[string]Level{
|
||||
"debug": LogDebug,
|
||||
"info": LogInfo,
|
||||
|
|
@ -41,6 +42,7 @@ var (
|
|||
"error": LogError,
|
||||
"errors": LogError,
|
||||
}
|
||||
// LogLevelDisplayNames gives the display name to use for our log levels.
|
||||
LogLevelDisplayNames = map[Level]string{
|
||||
LogDebug: "debug",
|
||||
LogInfo: "info",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue