Serilog Convention

Summary

Implements the IConvention<TContext>

Properties

Name Value Summary
AssemblyCandidateFinder IAssemblyCandidateFinder
Gets the assembly candidate finder.
AssemblyProvider IAssemblyProvider
Gets the assembly provider.
Configuration IConfiguration
Gets the configuration.
Environment IRocketEnvironment
The environment that this convention is running Based on IHostEnvironment / IHostingEnvironment
LoggerConfiguration LoggerConfiguration
Gets the logger configuration.

Available Conventions

EnvironmentLoggingConvention. Implements the ISerilogConvention

SerilogConditionallyAsyncLoggingConvention. Implements the ISerilogConvention

SerilogConsoleLoggingConvention. Implements the ISerilogConvention

SerilogDebugLoggingConvention. Implements the ISerilogConvention

SerilogEnrichLoggingConvention. Implements the ISerilogConvention

SerilogEnrichLoggingConvention. Implements the ISerilogConvention

SerilogReadFromConfigurationConvention. Implements the ISerilogConvention