Class SerilogOptions
- Namespace
- Steeltoe.Extensions.Logging.SerilogDynamicLogger
- Assembly
- Steeltoe.Extensions.Logging.SerilogDynamicLogger.dll
Implements a subset of the Serilog Options needed for SerilogDynamicProvider
public class SerilogOptions : ISerilogOptions
- Inheritance
-
SerilogOptions
- Implements
- Inherited Members
Properties
ConfigPath
public string ConfigPath { get; }
Property Value
FullnameExclusions
[Obsolete("No longer needed with current implementation. Will be removed in next major release")]
public IEnumerable<string> FullnameExclusions { get; }
Property Value
MinimumLevel
Gets or sets the minimum level for the root logger (and the "Default"). Limits the verbosity of all other overrides to this setting
public MinimumLevel MinimumLevel { get; set; }
Property Value
SubloggerConfigKeyExclusions
[Obsolete("No longer needed with current implementation. Will be removed in next major release")]
public IEnumerable<string> SubloggerConfigKeyExclusions { get; set; }
Property Value
Methods
GetSerilogConfiguration()
public LoggerConfiguration GetSerilogConfiguration()
Returns
SetSerilogOptions(IConfiguration)
public void SetSerilogOptions(IConfiguration configuration)
Parameters
configuration
IConfiguration
SetSerilogOptions(LoggerConfiguration)
public void SetSerilogOptions(LoggerConfiguration loggerConfiguration)
Parameters
loggerConfiguration
LoggerConfiguration