SerilogConsoleLoggingConvention Class

Summary

SerilogConsoleLoggingConvention. Implements the ISerilogConvention
graph BT Type-->Base0["SerilogConditionallyAsyncLoggingConvention"] click Base0 "/api/Rocket.Surgery.Extensions.Serilog.Conventions/SerilogConditionallyAsyncLoggingConvention" Base0-->Base1["Object"] Type-.->Interface0["ISerilogConvention"] click Interface0 "/api/Rocket.Surgery.Extensions.Serilog/ISerilogConvention" Type-.->Interface1["IConvention<ISerilogConventionContext>"] Type-.->Interface2["IConvention"] click Interface2 "/api/Rocket.Surgery.Conventions/IConvention" Type["SerilogConsoleLoggingConvention"] class Type type-node

Syntax

public sealed class SerilogConsoleLoggingConvention : SerilogConditionallyAsyncLoggingConvention, 
    ISerilogConvention, IConvention<ISerilogConventionContext>, IConvention

Attributes

Type Description
NullableContextAttribute
NullableAttribute
LiveConventionAttribute Defines this convention as one that only runs during live usage to avoid unit tests

Constructors

Name Summary
SerilogConsoleLoggingConvention(RocketSerilogOptions) Initializes a new instance of the SerilogConsoleLoggingConvention class.

Methods

Name Value Summary
Register(ISerilogConventionContext) void
Registers the specified context.
Register(LoggerSinkConfiguration) void
Registers the sink synchronously or asynchronously

Extension Methods

See Also