C# 클래스 Serilog.LoggerConfiguration

Configuration object for creating ILogger instances.
파일 보기 프로젝트 열기: serilog/serilog 1 사용 예제들

공개 메소드들

메소드 설명
ApplyInheritedConfiguration ( LoggerConfiguration child ) : void
CreateLogger ( ) : System.Logger

Create a logger using the configured sinks, enrichers and minimum level.

To free resources held by sinks ahead of program shutdown, the returned logger may be cast to IDisposable and disposed.

메소드 상세

ApplyInheritedConfiguration() 공개 메소드

public ApplyInheritedConfiguration ( LoggerConfiguration child ) : void
child LoggerConfiguration
리턴 void

CreateLogger() 공개 메소드

Create a logger using the configured sinks, enrichers and minimum level.
To free resources held by sinks ahead of program shutdown, the returned logger may be cast to IDisposable and disposed.
public CreateLogger ( ) : System.Logger
리턴 System.Logger