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

Disables colors when

true
.

Format

Gets or sets log message format. Defaults to Default.

IncludeScopes

Includes scopes when

true
.

LogToStandardErrorThreshold

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

TimestampFormat

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

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