 | 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.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
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