LogLevel: rename DEFAULT to NOTICE
"DEFAULT" is a bad name - all it says is that it's the default value, but it doesn't say what it means. The name NOTICE mimics the syslog level.
This commit is contained in:
@@ -964,7 +964,7 @@ Player::SongBorder() noexcept
|
||||
{
|
||||
const ScopeUnlock unlock(pc.mutex);
|
||||
|
||||
FormatDefault(player_domain, "played \"%s\"", song->GetURI());
|
||||
FormatNotice(player_domain, "played \"%s\"", song->GetURI());
|
||||
|
||||
ReplacePipe(dc.pipe);
|
||||
|
||||
@@ -1135,7 +1135,7 @@ Player::Run() noexcept
|
||||
cross_fade_tag.reset();
|
||||
|
||||
if (song != nullptr) {
|
||||
FormatDefault(player_domain, "played \"%s\"", song->GetURI());
|
||||
FormatNotice(player_domain, "played \"%s\"", song->GetURI());
|
||||
song.reset();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user