Skip to content

ISerilogAsyncJoint Methods

InterfaceMethods1 member
Async part interface for Serilog. Implements the Infrastructure.IDovetailJoint
Register(IDovetailContext, IServiceCollection, LoggerConfiguration, CancellationToken)Section titled Register(IDovetailContext, IServiceCollection, LoggerConfiguration, CancellationToken)abstractValueTask
Register the Serilog part asynchronously.
public interface ISerilogAsyncJoint
{
public abstract ValueTask Register(
IDovetailContext context,
IServiceCollection services,
LoggerConfiguration loggerConfiguration,
CancellationToken cancellationToken = default(CancellationToken))
{
// ...
}
}
contextIDovetailContext
servicesIServiceCollection
loggerConfigurationLoggerConfiguration
cancellationTokenCancellationTokenoptional