mirror of https://github.com/ppy/osu
Ignore case during logger name comparison
This commit is contained in:
parent
110652592f
commit
48527f2d07
|
@ -1041,7 +1041,7 @@ private void forwardTabletLogsToNotifications()
|
||||||
|
|
||||||
Logger.NewEntry += entry =>
|
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;
|
return;
|
||||||
|
|
||||||
if (entry.Level == LogLevel.Error)
|
if (entry.Level == LogLevel.Error)
|
||||||
|
|
Loading…
Reference in New Issue