 | InternalLoggerLogToConsole Property |
Gets or sets a value indicating whether internal messages should be written to the console output stream.
Namespace:
NLog.Common
Assembly:
NLog (in NLog.dll) Version: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntaxpublic static bool LogToConsole { get; set; }
Public Shared Property LogToConsole As Boolean
Get
Set
Dim value As Boolean
value = InternalLogger.LogToConsole
InternalLogger.LogToConsole = value
static member LogToConsole : bool with get, set
Property Value
Type:
Boolean
RemarksYour application must be a console application.
See Also