1
0
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:
Salman Ahmed 2022-09-16 22:50:49 +03:00
parent 110652592f
commit 48527f2d07

View File

@ -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)