 | 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.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntaxpublic 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:
Boolean
RemarksYour application must be a console application.
See Also