Get the file name associated with a logging target name. Dig through any
wrapper filters until we get to a file target and return the directory name.
Namespace: LaurelBridge.DCFExamples.NLogAdapter
Assembly: ExampleNLogAdapter (in ExampleNLogAdapter.dll) Version: DCF34 r13043 DCF_3_4_56_20220408 NetFramework
Syntax
C#
public static string GetNLogLogDirectoryPath( string targetName )
Parameters
- targetName
- Type: SystemString
The target name.
Return Value
Type: StringThe path to the NLog directory.
See Also