Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SLVS-1735 Change mapping of SLCore INFO logs from verbose to regular #5918

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/SLCore.Listeners.UnitTests/Logging/LoggerListenerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public void Mef_CheckIsSingleton()
[TestMethod]
[DataRow(LogLevel.ERROR, false)]
[DataRow(LogLevel.WARN, false)]
[DataRow(LogLevel.INFO, true)]
[DataRow(LogLevel.INFO, false)]
[DataRow(LogLevel.TRACE, true)]
[DataRow(LogLevel.DEBUG, true)]
public void Log_LogInfoTraceAndDebugAsVerbose(LogLevel logLevel, bool verboseLogs)
Expand All @@ -65,4 +65,4 @@ public void Log_LogInfoTraceAndDebugAsVerbose(LogLevel logLevel, bool verboseLog
}
}
}
}
}
2 changes: 1 addition & 1 deletion src/SLCore.Listeners/Implementation/LoggerListener.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ public void Log(LogParams parameters)
{
case LogLevel.ERROR:
case LogLevel.WARN:
case LogLevel.INFO:
logger.WriteLine(message);
break;

case LogLevel.INFO:
case LogLevel.DEBUG:
case LogLevel.TRACE:
logger.LogVerbose(message);
Expand Down
Loading