Click or drag to resize

ConsoleTarget Properties

The ConsoleTarget type exposes the following members.

Properties
  NameDescription
Public propertyAutoFlush
Gets or sets a value indicating whether to auto-flush after WriteLine
Public propertyDetectConsoleAvailable
Gets or sets a value indicating whether to auto-check if the console is available - Disables console writing if Environment.UserInteractive = (Windows Service) - Disables console writing if Console Standard Input is not available (Non-Console-App)
Public propertyEncoding
The encoding for writing messages to the Console.
Public propertyFooter
Gets or sets the footer.
(Inherited from TargetWithLayoutHeaderAndFooter.)
Public propertyForceWriteLine
Gets or sets whether to force WriteLine (slower) instead of the faster internal buffering.
Public propertyHeader
Gets or sets the header.
(Inherited from TargetWithLayoutHeaderAndFooter.)
Public propertyLayout
Gets or sets the layout used to format log messages.
(Inherited from TargetWithLayoutHeaderAndFooter.)
Public propertyName
Gets or sets the name of the target.
(Inherited from Target.)
Public propertyStdErr
Gets or sets a value indicating whether to send the log messages to the standard error instead of the standard output.
Top
See Also