【发布时间】:2020-01-31 20:29:34
【问题描述】:
我尝试设置以下配置,但我认为只有其中一个正在使用。
有没有办法将两者链接起来,或者有没有其他方法可以使用多个输出提供程序?
Audit.Core.Configuration.Setup()
.UseElasticsearch(config => config
.ConnectionSettings(new Uri(elasticUri))
.Index("sample-index")
.Id(ev => Guid.NewGuid()));
Audit.Core.Configuration.Setup()
.UseUdp(config => config
.RemoteAddress("127.0.0.1")
.RemotePort(6060));
【问题讨论】:
标签: c# asp.net-core .net-core asp.net-core-2.1 audit.net