C# Класс Serilog.LoggerConfiguration

Configuration object for creating ILogger instances.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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