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
1 changed files with 1 additions and 1 deletions

View File

@ -1041,7 +1041,7 @@ private void forwardTabletLogsToNotifications()
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)