mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 13:37:25 +08:00
Merge pull request #21760 from Flutterish/disable-custom-target-log-notifications
Don't post notifications from custom log targets
This commit is contained in:
commit
867a1963be
@ -1040,9 +1040,7 @@ namespace osu.Game
|
||||
|
||||
Logger.NewEntry += entry =>
|
||||
{
|
||||
if (entry.Level < LogLevel.Important || entry.Target > LoggingTarget.Database) return;
|
||||
|
||||
Debug.Assert(entry.Target != null);
|
||||
if (entry.Level < LogLevel.Important || entry.Target > LoggingTarget.Database || entry.Target == null) return;
|
||||
|
||||
const int short_term_display_limit = 3;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user