| InternalLoggerLogToConsoleError Property |
Gets or sets a value indicating whether internal messages should be written to the console error stream.
Namespace:
NLog.Common
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public static bool LogToConsoleError { get; set; }
Public Shared Property LogToConsoleError As Boolean
Get
Set
Dim value As Boolean
value = InternalLogger.LogToConsoleError
InternalLogger.LogToConsoleError = value
static member LogToConsoleError : bool with get, set
Property Value
Type:
BooleanRemarks Your application must be a console application.
See Also