Summary
SerilogEnrichLoggingConvention.
Implements the
ISerilogConvention
- Assembly
- Rocket
.Surgery .Extensions .Serilog .dll - Namespace
- Rocket
.Surgery .Extensions .Serilog .Conventions - Interfaces
- Base Types
-
- Object
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 |
---|---|
Live |
Defines this convention as one that only runs during live usage to avoid unit tests |
Constructors
Name | Summary |
---|---|
Serilog |
Methods
Name | Value | Summary |
---|---|---|
Register |
void |
Registers the specified context.
|
Extension Methods
Name | Value | Summary |
---|---|---|
SetBackingValue |
T |
Sets the backing value.
From ValueExtensions
|
With |
TBuilder |
Adds the specified dictionary to the provided dictionary.
|