SerilogHostBuilderExtensions Class

Summary

SerilogHostBuilderExtensions.
graph BT Type-->Base0["Object"] Type["SerilogHostBuilderExtensions"] class Type type-node

Syntax

public static class SerilogHostBuilderExtensions

Attributes

Type Description
NullableContextAttribute
NullableAttribute
PublicAPIAttribute

Methods

Name Value Summary
UseSerilog(IConventionHostBuilder, RocketSerilogOptions) IConventionHostBuilder
Uses the serilog.
static
WriteToAsyncConditionally(ISerilogConventionContext, Action<LoggerSinkConfiguration>) ISerilogConventionContext
Write to the log an async sink when running the default command (or web server / hosted process). Write to a sync sink when not running the default command.
static