Compartir a través de


ConsoleLoggerOptions Class

Definition

Options for a Microsoft.Extensions.Logging.Console.ConsoleLogger.

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

Constructors

ConsoleLoggerOptions()

Properties

DisableColors
Obsolete.

Gets or sets a value that indicates whether colors are disabled.

Format
Obsolete.

Gets or sets the log message format.

FormatterName

Gets or sets the name of the log message formatter to use.

IncludeScopes
Obsolete.

Gets or sets a value that indicates whether scopes are included.

LogToStandardErrorThreshold

Gets or sets value indicating the minimum level of messages that 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.

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

UseUtcTimestamp
Obsolete.

Gets or sets a value that indicates whether UTC timezone should be used to format 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