How to get NLog to write to database

前端 未结 2 537
慢半拍i
慢半拍i 2021-01-29 23:58

I\'m trying to get NLog to log to my database log table but to no avail. I\'m sure my connection string is correct because it\'s the same used elsewhere in my web.config. Writ

2条回答
  •  梦如初夏
    2021-01-30 00:22

    NLog allows for logging the internals of the framework itself.

    Enable "debug level for your internal logging" for NLog and see what's going wrong.

提交回复
热议问题