mirror of
https://github.com/ppy/osu.git
synced 2025-02-12 05:13:08 +08:00
Ignore case during logger name comparison
This commit is contained in:
parent
110652592f
commit
48527f2d07
@ -1041,7 +1041,7 @@ namespace osu.Game
|
||||
|
||||
Logger.NewEntry += entry =>
|
||||
{
|
||||
if (entry.Level < LogLevel.Important || entry.LoggerName != ITabletHandler.LOGGER_NAME)
|
||||
if (entry.Level < LogLevel.Important || !entry.LoggerName.Equals(ITabletHandler.LOGGER_NAME, StringComparison.OrdinalIgnoreCase))
|
||||
return;
|
||||
|
||||
if (entry.Level == LogLevel.Error)
|
||||
|
Loading…
Reference in New Issue
Block a user