问题
I'm using fluentd as a log aggregator in front of an elasticsearch db. I started working on a dotnet core api and want to add my logs there as well. Is there a good package for this? So far I've found the Nlog and the fluentd target are not compatible with core.
回答1:
Use Serilog with the corresponding Fluentd sink
来源:https://stackoverflow.com/questions/40849950/logging-to-fluentd-with-dotnet-core