SerilogEnrichEnvironmentLoggingConvention Class

Summary

SerilogEnrichLoggingConvention. Implements the ISerilogConvention
graph BT Type-->Base0["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["SerilogEnrichEnvironmentLoggingConvention"] class Type type-node

Syntax

public class SerilogEnrichEnvironmentLoggingConvention : ISerilogConvention, 
    IConvention<ISerilogConventionContext>, IConvention

Attributes

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

Constructors

Methods

Name Value Summary
Register(ISerilogConventionContext) void
Registers the specified context.

Extension Methods

See Also