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)
{
#if DEBUG
#if DEBUG_DATABASE
return logLevel > LogLevel.Debug;
#else
return logLevel > LogLevel.Information;