mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-07-28 22:28:25 +00:00
Added comment explaining why EROR and DBUG are not typos
This commit is contained in:
@@ -189,6 +189,8 @@ func (l *SimpleLogger) capitalizeFirstLetter(s string) string {
|
||||
return string(runes)
|
||||
}
|
||||
|
||||
// levelToString returns the logging level as a 4 character string. DEBUG and ERROR are shortened intentionally
|
||||
// so that logs line up.
|
||||
func (l *SimpleLogger) levelToString(level LogLevel) string {
|
||||
switch level {
|
||||
case Debug:
|
||||
|
||||
Reference in New Issue
Block a user