I’ve updated NLog ver 2.0 to 4.3.5. After this I’ve noticed a compiler warning thatÂ
WarnException(msg,exc) is obsolete and should be replaced by Warn(exc,msg)
It could be globally replaced using regular expressionsÂ
WarnException\((.*),(.*)\);
toÂWarn($2, $1);
See saved regex in https://regex101.com/r/kL8cR4/1