1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-18 10:40:12 +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
Unverified
parent 7ba22f0028
commit 61c1dd3636
+1 -1
View File
@@ -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;