C# Class Serilog.Core.LoggingLevelSwitch

Dynamically controls logging level.
Afficher le fichier Open project: serilog/serilog Class Usage Examples

Méthodes publiques

Méthode Description
LoggingLevelSwitch ( LogEventLevel initialMinimumLevel = LogEventLevel.Information ) : Serilog.Events

Create a LoggingLevelSwitch at the initial minimum level.

Method Details

LoggingLevelSwitch() public méthode

Create a LoggingLevelSwitch at the initial minimum level.
public LoggingLevelSwitch ( LogEventLevel initialMinimumLevel = LogEventLevel.Information ) : Serilog.Events
initialMinimumLevel LogEventLevel The initial level to which the switch is set.
Résultat Serilog.Events