mirror of
https://github.com/ppy/osu
synced 2025-01-03 12:52:10 +00:00
Don't output database logs unless DEBUG_DATABASE is specified compile-time
This commit is contained in:
parent
7ba22f0028
commit
61c1dd3636
@ -157,7 +157,7 @@ namespace osu.Game.Database
|
||||
|
||||
public bool IsEnabled(LogLevel logLevel)
|
||||
{
|
||||
#if DEBUG
|
||||
#if DEBUG_DATABASE
|
||||
return logLevel > LogLevel.Debug;
|
||||
#else
|
||||
return logLevel > LogLevel.Information;
|
||||
|
Loading…
Reference in New Issue
Block a user