Currently the plugins are loaded with the requirement to be referenced in the Program.cs
Reactivate the load of the assemblies to load plugins from the app folder
.ConfigureServices((hostContext, services) =>
{
var plugins = new IPlugin[]
{
new NLogLog4TcOutputPlugin(),
new GraylogLog4TcOutputPlugin(),
new InfluxDbLog4TcOutputPlugin(),
new SqlLog4TcOutputPlugin(),
};
foreach (var plugin in plugins)
{
plugin.ConfigureServices(services, hostContext.Configuration);
}
// TODO plugin funktioniert momentan nicht mit dritt-Nugets
//services
// .AddPlugins(GetPluginPath())
// // ToDo: Differenziate output / input / ... configuration in PluginBuilder
// .AddOutputs(hostContext.Configuration);
services
.AddLog4TcAdsLogReceiver()
.AddLog4TcDispatcher();
});
Currently the plugins are loaded with the requirement to be referenced in the Program.cs
Reactivate the load of the assemblies to load plugins from the app folder