Skip to content

LoggingConnector Methods

ClassMethods1 member
A joint that registers logging services into the context. This joint is automatically registered by the Dovetail generator, so it is not necessary to register this joint manually.
Register(IDovetailContext, IServiceCollection, CancellationToken)Section titled Register(IDovetailContext, IServiceCollection, CancellationToken)ValueTask
Register the Service part asynchronously.
public sealed class LoggingConnector
{
public ValueTask Register(
IDovetailContext context,
IServiceCollection services,
CancellationToken cancellationToken = default(CancellationToken))
{
// ...
}
}
servicesIServiceCollection
cancellationTokenCancellationTokenoptional