Skip to content

CurrentDir Layout Renderer

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

The current working directory of the application.

Platforms Supported: All

Introduced in NLog v4.5.

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

Configuration Syntax

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

Parameters

Advanced Options

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

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

See also: FileTarget FileName Directory

Clone this wiki locally