使用dotnet核心登录到FluentD? [英] Logging to FluentD with dotnet core?

查看:87
本文介绍了使用dotnet核心登录到FluentD?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用fluentd作为elasticsearch db前面的日志聚合器.我开始研究dotnet核心api,也想在其中添加日志.有一个好的包装吗?到目前为止,我发现Nlog和流畅的目标与核心不兼容.

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.

推荐答案

将Serilog与相应的

Use Serilog with the corresponding Fluentd sink

这篇关于使用dotnet核心登录到FluentD?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆