LogBackend: change the initial log_threshold to DEFAULT

The log levels have always been very confusing (and badly named), but
this was most confusing: if there's a log level called "default", why
is it not the default?

Closes https://github.com/MusicPlayerDaemon/MPD/issues/926
This commit is contained in:
Max Kellermann
2020-09-16 17:16:23 +02:00
parent e10b867fe6
commit c61a3b8d13
2 changed files with 2 additions and 1 deletions

View File

@@ -61,7 +61,7 @@ ToAndroidLogLevel(LogLevel log_level) noexcept
#else
static LogLevel log_threshold = LogLevel::INFO;
static LogLevel log_threshold = LogLevel::DEFAULT;
static bool enable_timestamp;