Summary
SerilogBuilder.
Implements the
ConventionBuilder<TBuilder, TConvention, TDelegate>
Implements the ISerilogBuilder
Implements the ISerilogConventionContext
- Assembly
- Rocket
.Surgery .Extensions .Serilog .dll - Namespace
- Rocket
.Surgery .Extensions .Serilog - Interfaces
- Base Types
Syntax
public class SerilogBuilder :
ConventionBuilder<ISerilogBuilder, ISerilogConvention, SerilogConventionDelegate>,
ISerilogBuilder,
IConventionBuilder<ISerilogBuilder, ISerilogConvention, SerilogConventionDelegate>,
IConventionContainer<ISerilogBuilder, ISerilogConvention, SerilogConventionDelegate>,
ISerilogConventionContext, IConventionContext
Attributes
| Type | Description |
|---|---|
| Nullable |
|
| NullableAttribute |
Constructors
| Name | Summary |
|---|---|
| SerilogBuilder |
Initializes a new instance of the SerilogBuilder class.
|
Properties
| Name | Value | Summary |
|---|---|---|
| Configuration | IConfiguration |
Gets the configuration.
|
| Environment | IRocketEnvironment |
The environment that this convention is running
Based on IHostEnvironment / IHostingEnvironment
|
| Logger | ILogger |
A logger that is configured to work with each convention item
|
| LoggerConfiguration | LoggerConfiguration |
Gets the logger configuration.
|
Methods
| Name | Value | Summary |
|---|---|---|
| Build |
ILogger |
Builds this instance.
|
| Configure |
LoggerConfiguration |
Builds this instance.
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| SetBackingValue |
T |
Sets the backing value.
From ValueExtensions
|
| With |
TBuilder |
Adds the specified dictionary to the provided dictionary.
|
