开发者

How to set value to NLog.config

I am just wondering ho开发者_如何学JAVAw to change the value in NLog.config file from other file configuration for example,

<variable name="logDirectory" value="${basedir}/logs/${shortdate}"/>

I want to change logDirectory value to be "C:/logs/${shortdate}" and of course I want to get the value from other configuration file. Is it possible to do that?

thanks in advance.


You can use configSource="YourConfigFile"

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜