Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Serilog 有系统日志接收器吗?
我正在尝试使 Serilog 与 Logstash 一起使用,但保留轻松切换到另一个聚合器的自由,而无需在我的应用程序中更改配置。
我在这种情况下所做的是将 RollingFileSink 与 JsonFormatter 一起使用,然后使用 nxlog 将日志发送到我的 syslog 服务器。
看起来现在我们有一个实现:
https://github.com/vermeeca/Serilog.Sinks.Syslog/tree/master
不,我不知道,但这绝对是值得欢迎的贡献。如果您想继续写作,请随时在邮件列表中寻求帮助。