Skip to content

Commit 68454a8

Browse files
committed
Change log level for plugin constructor timing message
Updated the log level for the plugin constructor cost message from `LogInfo` to `LogDebug` to reduce verbosity in production logs and make this information available primarily during debugging sessions.
1 parent bd880d3 commit 68454a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Flow.Launcher.Core/Plugin/PluginsLoader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ private static List<PluginPair> DotNetPlugins(List<PluginMetadata> source)
108108
});
109109

110110
metadata.InitTime += milliseconds;
111-
PublicApi.Instance.LogInfo(ClassName, $"Constructor cost for <{metadata.Name}> is <{metadata.InitTime}ms>");
111+
PublicApi.Instance.LogDebug(ClassName, $"Constructor cost for <{metadata.Name}> is <{metadata.InitTime}ms>");
112112
}
113113

114114
if (erroredPlugins.Count > 0)

0 commit comments

Comments
 (0)