mirror of
https://github.com/ppy/osu.git
synced 2025-03-14 05:47:20 +08:00
dont post notifications from custom log targets
This commit is contained in:
parent
15a162a943
commit
422fdd8ae5
@ -1040,7 +1040,7 @@ namespace osu.Game
|
||||
|
||||
Logger.NewEntry += entry =>
|
||||
{
|
||||
if (entry.Level < LogLevel.Important || entry.Target > LoggingTarget.Database) return;
|
||||
if (entry.Level < LogLevel.Important || entry.Target is null or > LoggingTarget.Database) return;
|
||||
|
||||
Debug.Assert(entry.Target != null);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user