我需要一种方法在我的应用程序中使用dnx写入Windows的事件查看器.但是,EventLog该类在System.Diagnostics命名空间中不可用,所以我被卡住了.还有其他方法可以写入EventViewer吗?
EventLog
System.Diagnostics
c# logging .net-core dnx
.net-core ×1
c# ×1
dnx ×1
logging ×1