From 61c1dd36366c17d740a2f8be3eda04f0a61a030d Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Sun, 22 Oct 2017 19:46:08 +0900 Subject: [PATCH] Don't output database logs unless DEBUG_DATABASE is specified compile-time --- osu.Game/Database/OsuDbContext.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game/Database/OsuDbContext.cs b/osu.Game/Database/OsuDbContext.cs index 271fde719b..cf97a8f216 100644 --- a/osu.Game/Database/OsuDbContext.cs +++ b/osu.Game/Database/OsuDbContext.cs @@ -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;