Skip to content

ProcessDir Layout Renderer

Rolf Kristensen edited this page Mar 6, 2022 · 6 revisions

The current process executable directory of the application.

Platforms Supported: Limited (Not supported for NetStandard1.3)

Introduced in NLog v4.7.1.

See also ${basedir}, ${specialfolder}, ${currentdir}, ${tempdir}

Configuration Syntax

${processdir:dir=String:file=String}

Parameters

Advanced Options

  • dir: Name of the directory to be Path.Combine()'d with the process directory.

  • file: Name of the file to be Path.Combine()'d with the process directory.

Remarks

This is the same as using ${basedir:processDir=true}.

See also: FileTarget FileName Directory

Clone this wiki locally