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 log message format. Defaults to Default.

FormatterName

The name of the log message formatter to use. Defaults to "simple".

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.

TimestampFormat
Obsolete.
Obsolete.

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

UseUtcTimestamp
Obsolete.
Obsolete.

Gets or sets a value that indicates whether or not UTC timezone should be used to for timestamps in logging messages. Defaults to false.

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