Partager via


ITraceHubRegistrationService Interface

Definition

Interface used to describe contract between trace components in remote services and the tracing hub. Used to configure tracing providers and proffer log streams and to offer configuration log levels and log locations to tracing components.

public interface class ITraceHubRegistrationService
public interface ITraceHubRegistrationService
type ITraceHubRegistrationService = interface
Public Interface ITraceHubRegistrationService

Remarks

Use the ServiceRpcDescriptor from TraceHubRegistrationService to access the service.

Methods

RegisterTraceLogAsync(LogId, LoggerOptions, CancellationToken)

Registers a new log stream with the tracing hub and exposes it to requesting clients.

SubscribeToLogVerbosityAsync(IObserver<LogVerbosityState>, LogId, CancellationToken)

Attaches an observer for updates to when logging verbosity state changes.

Applies to