Partilhar via


FakeLogCollectorOptions Class

Definition

Options for the fake logger.

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

Constructors

FakeLogCollectorOptions()

Properties

CollectRecordsForDisabledLogLevels

Gets or sets a value indicating whether to collect records that are logged when the associated log level is currently disabled.

FilteredCategories

Gets or sets the logger categories for which records are collected.

FilteredLevels

Gets or sets the logging levels for which records are collected.

OutputFormatter

Gets or sets a delegate that is used to format log records in a specialized way before sending them to the registered output sink.

OutputSink

Gets or sets an output sink where every record harvested by the collector is sent.

TimeProvider

Gets or sets the time provider to use when time-stamping log records.

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