Logging to FluentD with dotnet core?

北城以北 提交于 2019-12-12 02:19:39

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!