log: make set_level(level Level) part of the log.Logger interface too (fix for discordv)

This commit is contained in:
Delyan Angelov 2022-08-01 15:09:32 +03:00
parent b08690d151
commit a35356758c
No known key found for this signature in database
GPG key ID: 66886C0F12D595ED
2 changed files with 2 additions and 0 deletions

View file

@ -69,6 +69,7 @@ mut:
warn(s string)
info(s string)
debug(s string)
set_level(level Level)
}
// Log represents a logging object