| 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.2.0+eed5f76d158dbcaef9326f7a0e1c281adad171e8
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