Summary
SerilogConsoleLoggingConvention.
Implements the
ISerilogConvention
- Assembly
- Rocket
.Surgery .Extensions .Serilog .dll - Namespace
- Rocket
.Surgery .Extensions .Serilog .Conventions - Interfaces
- Base Types
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 |
|---|---|
| Nullable |
|
| NullableAttribute | |
| Live |
Defines this convention as one that only runs during live usage to avoid unit tests |
Constructors
| Name | Summary |
|---|---|
| Serilog |
Initializes a new instance of the SerilogConsoleLoggingConvention class.
|
Methods
| Name | Value | Summary |
|---|---|---|
| Register |
void |
Registers the specified context.
Inherited from Serilog
|
| Register |
void |
Registers the sink synchronously or asynchronously
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| SetBackingValue |
T |
Sets the backing value.
From ValueExtensions
|
| With |
TBuilder |
Adds the specified dictionary to the provided dictionary.
|
