1
0
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:
Dean Herbert 2017-10-22 19:46:08 +09:00
parent 7ba22f0028
commit 61c1dd3636

View File

@ -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;