allow warning pass exception (for known exception)

This commit is contained in:
Kevin Zhang 2021-06-22 23:52:53 +08:00 committed by 张弘韬
parent 4f13433913
commit 89bb169fee

View file

@ -161,7 +161,7 @@ namespace Flow.Launcher.Plugin
/// <summary>
/// Log warning message
/// </summary>
void LogWarn(string className, string message, [CallerMemberName] string methodName = "");
void LogWarn(string className, string message, Exception e = null, [CallerMemberName] string methodName = "");
/// <summary>
/// Log an Exception. Will throw if in debug mode so developer will be aware,