From 89bb169fee7737833d46afbd33b7804e5ee73d8a Mon Sep 17 00:00:00 2001 From: Kevin Zhang Date: Tue, 22 Jun 2021 23:52:53 +0800 Subject: [PATCH] allow warning pass exception (for known exception) --- Flow.Launcher.Plugin/IPublicAPI.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Flow.Launcher.Plugin/IPublicAPI.cs b/Flow.Launcher.Plugin/IPublicAPI.cs index d9cdf5581..214d6c116 100644 --- a/Flow.Launcher.Plugin/IPublicAPI.cs +++ b/Flow.Launcher.Plugin/IPublicAPI.cs @@ -161,7 +161,7 @@ namespace Flow.Launcher.Plugin /// /// Log warning message /// - void LogWarn(string className, string message, [CallerMemberName] string methodName = ""); + void LogWarn(string className, string message, Exception e = null, [CallerMemberName] string methodName = ""); /// /// Log an Exception. Will throw if in debug mode so developer will be aware,