可以NLOG写入RavenDB数据库数据库、NLOG、RavenDB

2023-09-06 18:18:04 作者:缺心少年#

想尝试NoSQL的和需要改进的记录(写一些数据库,而不是文件..)。现在我使用SQLCE了点。我可以使用NLOG和写入RavenDB的例子吗?如果是,请提供一些示例NLOG configuratoin文件。谢谢你。

Want to try nosql and need to improve logging (write to some DB instead of files..). For now i use SQLCE for that. Can i use NLog and write to RavenDB for example? If 'yes' please provide some sample NLog configuratoin file. Thank you.

推荐答案

是的,你可以做到这一点,但你必须写,做这个自己,我不认为这是一个开箱即用的appender这样做的附加目的地。

Yes, you can do that, but you would have to write the appender that does this yourself, I don't think there is an OOTB appender for this.