-
Notifications
You must be signed in to change notification settings - Fork 1.4k
ProcessDir Layout Renderer
Rolf Kristensen edited this page Jun 22, 2025
·
7 revisions
The current process executable directory of the application.
Platforms Supported: All
Introduced in NLog v4.7.1.
See also ${basedir}, ${specialfolder}, ${currentdir}, ${tempdir}
${processdir:dir=String:file=String}
-
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.
This is the same as using ${basedir:processDir=true}
.
See also: FileTarget FileName Directory
- Troubleshooting Guide - See available NLog Targets and Layouts: https://nlog-project.org/config
- Getting started
- How to use structured logging
- Troubleshooting
- FAQ
- Articles about NLog
-
All targets, layouts and layout renderers
Popular: - Using NLog with NLog.config
- Using NLog with appsettings.json