NLog 2.0 を使用してログを xml ファイルに書き込もうとしています。.net フレームワーク 3.5 で。
これが私が使用しているレイアウトです。
layout="${log4jxmlevent:includelongdate=true:includeexception=true:includeSourceInfo=true:includeCallSite=true:appInfo=true:includeNLogData=true:includestacktrace=true:throwExceptions=true:includeerror=true:indentXml=true:includeNLogData=true }" >
しかし、これは、データベース構成レイアウト="${logger:shortName=true}" のように、正しいモジュール、クラス名、またはロガーを私に与えません。
xml構成のモジュール/クラス/ロガー名に関する詳細情報を取得する方法はありますか?