optimize load plugin logs

pull/4648/head
nyanmisaka 4 years ago
parent 4a3411cad1
commit bbe872524d

@ -774,17 +774,10 @@ namespace Emby.Server.Implementations
if (Plugins != null)
{
var pluginBuilder = new StringBuilder();
foreach (var plugin in Plugins)
{
pluginBuilder.Append(plugin.Name)
.Append(' ')
.Append(plugin.Version)
.AppendLine();
Logger.LogInformation("Loaded plugin: {PluginName} {PluginVersion}", plugin.Name.ToString(), plugin.Version.ToString());
}
Logger.LogInformation("Plugins: {Plugins}", pluginBuilder.ToString());
}
_urlPrefixes = GetUrlPrefixes().ToArray();

Loading…
Cancel
Save