C# 클래스 Serilog.Configuration.LoggerMinimumLevelConfiguration

Controls sink configuration.
파일 보기 프로젝트 열기: serilog/serilog 1 사용 예제들

공개 메소드들

메소드 설명
ControlledBy ( LoggingLevelSwitch levelSwitch ) : LoggerConfiguration

Sets the minimum level to be dynamically controlled by the provided switch.

Debug ( ) : LoggerConfiguration

Internal system events that aren't necessarily observable from the outside.

Error ( ) : LoggerConfiguration

Functionality is unavailable, invariants are broken or data is lost.

Fatal ( ) : LoggerConfiguration

If you have a pager, it goes off when one of these occurs.

Information ( ) : LoggerConfiguration

The lifeblood of operational intelligence - things happen.

Is ( LogEventLevel minimumLevel ) : LoggerConfiguration

Sets the minimum level at which events will be passed to sinks.

Override ( string source, LogEventLevel minimumLevel ) : LoggerConfiguration

Override the minimum level for events from a specific namespace or type name.

Override ( string source, LoggingLevelSwitch levelSwitch ) : LoggerConfiguration

Override the minimum level for events from a specific namespace or type name.

Verbose ( ) : LoggerConfiguration

Anything and everything you might want to know about a running block of code.

Warning ( ) : LoggerConfiguration

Service is degraded or endangered.

비공개 메소드들

메소드 설명
LoggerMinimumLevelConfiguration ( LoggerConfiguration loggerConfiguration, Action setMinimum, Action setLevelSwitch, LoggingLevelSwitch>.Action addOverride ) : System

메소드 상세

ControlledBy() 공개 메소드

Sets the minimum level to be dynamically controlled by the provided switch.
public ControlledBy ( LoggingLevelSwitch levelSwitch ) : LoggerConfiguration
levelSwitch Serilog.Core.LoggingLevelSwitch The switch.
리턴 LoggerConfiguration

Debug() 공개 메소드

Internal system events that aren't necessarily observable from the outside.
public Debug ( ) : LoggerConfiguration
리턴 LoggerConfiguration

Error() 공개 메소드

Functionality is unavailable, invariants are broken or data is lost.
public Error ( ) : LoggerConfiguration
리턴 LoggerConfiguration

Fatal() 공개 메소드

If you have a pager, it goes off when one of these occurs.
public Fatal ( ) : LoggerConfiguration
리턴 LoggerConfiguration

Information() 공개 메소드

The lifeblood of operational intelligence - things happen.
public Information ( ) : LoggerConfiguration
리턴 LoggerConfiguration

Is() 공개 메소드

Sets the minimum level at which events will be passed to sinks.
public Is ( LogEventLevel minimumLevel ) : LoggerConfiguration
minimumLevel LogEventLevel The minimum level to set.
리턴 LoggerConfiguration

Override() 공개 메소드

Override the minimum level for events from a specific namespace or type name.
public Override ( string source, LogEventLevel minimumLevel ) : LoggerConfiguration
source string The (partial) namespace or type name to set the override for.
minimumLevel LogEventLevel The minimum level applied to loggers for matching sources.
리턴 LoggerConfiguration

Override() 공개 메소드

Override the minimum level for events from a specific namespace or type name.
public Override ( string source, LoggingLevelSwitch levelSwitch ) : LoggerConfiguration
source string The (partial) namespace or type name to set the override for.
levelSwitch Serilog.Core.LoggingLevelSwitch The switch controlling loggers for matching sources.
리턴 LoggerConfiguration

Verbose() 공개 메소드

Anything and everything you might want to know about a running block of code.
public Verbose ( ) : LoggerConfiguration
리턴 LoggerConfiguration

Warning() 공개 메소드

Service is degraded or endangered.
public Warning ( ) : LoggerConfiguration
리턴 LoggerConfiguration