I have some assemblies written in C#, which I want to use with IronPython interpreter. These assemblies use NLog for logging, and if I use them from C# code, I can provide NLog settings with the NLog.config. But how can I configure logging if I use ipy.exe interpreter?
我有一些用C#编写的程序集,我想用IronPython解释器。这些程序集使用NLog进行日志记录,如果我从C#代码中使用它们,我可以使用NLog.config提供NLog设置。但是,如果我使用ipy.exe解释器,如何配置日志记录?
1 个解决方案
#1
0
Put nlog.config
next to the ipy.exe
.
将nlog.config放在ipy.exe旁边。
#1
0
Put nlog.config
next to the ipy.exe
.
将nlog.config放在ipy.exe旁边。