Click or drag to resize

InternalLoggerLogFile Property

Gets or sets the file path of the internal log file. Supports environment variables like %APPDATA% or %LOCALAPPDATA% or %PROGRAMDATA%, and selected NLog-variables like ${basedir}, ${processdir}, ${currentdir}.

Namespace:  NLog.Common
Assembly:  NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntax
public static string? LogFile { get; set; }

Property Value

Type: String
Remarks
A value of value disables internal logging to a file.
See Also