NLog.Targets.ConsoleTarget
Writes log messages to the console.
Gets or sets a value indicating whether to auto-flush after WriteLine
Gets or sets a value indicating whether to auto-check if the console is available
- Disables console writing if Environment.UserInteractive = false (Windows Service)
- Disables console writing if Console Standard Input is not available (Non-Console-App)
The encoding for writing messages to the Console.
Obsolete and replaced by StdErr with NLog v5.
Gets or sets a value indicating whether to send the log messages to the standard error instead of the standard output.
Gets or sets whether to force WriteLine (slower) instead of the faster internal buffering.
Gets or sets a value indicating whether to send the log messages to the standard error instead of the standard output.
Gets or sets whether to activate internal buffering to allow batch writing, instead of using WriteLine
public ConsoleTarget()
Initializes a new instance of the ConsoleTarget class.
Initializes a new instance of the ConsoleTarget class.