 | 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
Syntaxpublic static string? LogFile { get; set; }Public Shared Property LogFile As String
Get
Set
Dim value As String
value = InternalLogger.LogFile
InternalLogger.LogFile = value
static member LogFile : string with get, set
Property Value
Type:
String
RemarksA value of value disables internal logging to a file.
See Also