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.

Applies to