Class SerilogOptions
Implements a subset of the Serilog Options needed for SerilogDynamicProvider
Inheritance
System.Object
SerilogOptions
Assembly: Steeltoe.Extensions.Logging.DynamicSerilogBase.dll
Syntax
public class SerilogOptions : object, ISerilogOptions
Properties
|
Edit this page
View Source
ConfigPath
Declaration
public string ConfigPath { get; }
Property Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
FullnameExclusions
Declaration
public IEnumerable<string> FullnameExclusions { get; }
Property Value
Type |
Description |
IEnumerable<System.String> |
|
|
Edit this page
View Source
MinimumLevel
Gets or sets the minimum level for the root logger (and the "Default").
Limits the verbosity of all other overrides to this setting
Declaration
public MinimumLevel MinimumLevel { get; set; }
Property Value
|
Edit this page
View Source
SubloggerConfigKeyExclusions
Declaration
public IEnumerable<string> SubloggerConfigKeyExclusions { get; set; }
Property Value
Type |
Description |
IEnumerable<System.String> |
|
Methods
|
Edit this page
View Source
GetSerilogConfiguration()
Declaration
public Serilog.LoggerConfiguration GetSerilogConfiguration()
Returns
Type |
Description |
Serilog.LoggerConfiguration |
|
|
Edit this page
View Source
SetSerilogOptions(IConfiguration)
Declaration
public void SetSerilogOptions(IConfiguration configuration)
Parameters
Type |
Name |
Description |
IConfiguration |
configuration |
|
|
Edit this page
View Source
SetSerilogOptions(Serilog.LoggerConfiguration)
Declaration
public void SetSerilogOptions(Serilog.LoggerConfiguration loggerConfiguration)
Parameters
Type |
Name |
Description |
Serilog.LoggerConfiguration |
loggerConfiguration |
|
Implements