共用方式為


TraceSourceFactoryExtensions Class

Definition

Extension methods for setting up TraceSourceLoggerProvider on a ILoggingBuilder.

public ref class TraceSourceFactoryExtensions abstract sealed
public static class TraceSourceFactoryExtensions
type TraceSourceFactoryExtensions = class
Public Module TraceSourceFactoryExtensions
Inheritance
TraceSourceFactoryExtensions

Methods

AddTraceSource(ILoggingBuilder, SourceSwitch, TraceListener)

Adds a logger that writes to TraceSource.

AddTraceSource(ILoggingBuilder, SourceSwitch)

Adds a logger that writes to TraceSource.

AddTraceSource(ILoggingBuilder, String, TraceListener)

Adds a logger that writes to TraceSource.

AddTraceSource(ILoggingBuilder, String)

Adds a logger that writes to TraceSource.

Applies to