mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 08:12:56 +08: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)
|
public bool IsEnabled(LogLevel logLevel)
|
||||||
{
|
{
|
||||||
#if DEBUG
|
#if DEBUG_DATABASE
|
||||||
return logLevel > LogLevel.Debug;
|
return logLevel > LogLevel.Debug;
|
||||||
#else
|
#else
|
||||||
return logLevel > LogLevel.Information;
|
return logLevel > LogLevel.Information;
|
||||||
|
Loading…
Reference in New Issue
Block a user