Sdílet prostřednictvím


ConsoleFormatter Class

Definition

Allows custom log messages formatting.

public ref class ConsoleFormatter abstract
public abstract class ConsoleFormatter
type ConsoleFormatter = class
Public MustInherit Class ConsoleFormatter
Inheritance
ConsoleFormatter

Constructors

ConsoleFormatter(String)

Initializes a new instance of ConsoleFormatter.

Properties

Name

Gets the name associated with the console log formatter.

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)
Write<TState>(LogEntry<TState>, IExternalScopeProvider, TextWriter)

Writes the log message to the specified TextWriter.

Applies to