ConsoleLoggerOptions Class

Definition

Options for a ConsoleLogger.

public ref class ConsoleLoggerOptions
public class ConsoleLoggerOptions
type ConsoleLoggerOptions = class
Public Class ConsoleLoggerOptions
Inheritance
ConsoleLoggerOptions

Constructors

ConsoleLoggerOptions()

Properties

DisableColors
Obsolete.
Obsolete.

Disables colors when true.

Format
Obsolete.
Obsolete.

Gets or sets the log message format.

FormatterName

The name of the log message formatter to use.

IncludeScopes
Obsolete.
Obsolete.

Includes scopes when true.

LogToStandardErrorThreshold

Gets or sets value indicating the minimum level of messages that would get written to Console.Error.

MaxQueueLength

Gets or sets the maximum number of enqueued messages.

QueueFullMode

Gets or sets the desired console logger behavior when the queue becomes full.

TimestampFormat
Obsolete.
Obsolete.

Gets or sets the format string used to format timestamps in logging messages.

UseUtcTimestamp
Obsolete.
Obsolete.

Gets or sets a value that indicates whether or not the UTC time zone should be used to for timestamps in logging messages.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to