ITraceHubRegistrationService Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |