C# Класс Transloadit.Log.LoggerFactory

Static logger factory for Transloadit. Creates and gets the configured or the default logger for Transloadit
Показать файл Открыть проект

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

Метод Описание
GetLogger ( ) : ITransloaditLogger

Gets the created logger instance. If the current logger instance is null and an existing logger class is defined in the LoggerClass private constant, then a new logger object will be created. Logger class must implement ITransloaditLogger interface. If the set class does not implement the required interface, then the default logger will be used.

Описание методов

GetLogger() публичный статический Метод

Gets the created logger instance. If the current logger instance is null and an existing logger class is defined in the LoggerClass private constant, then a new logger object will be created. Logger class must implement ITransloaditLogger interface. If the set class does not implement the required interface, then the default logger will be used.
/// Thrown when the configured class is not exsiting. ///
public static GetLogger ( ) : ITransloaditLogger
Результат ITransloaditLogger