C# Class Transloadit.Log.LoggerFactory

Static logger factory for Transloadit. Creates and gets the configured or the default logger for Transloadit
ファイルを表示 Open project: nkranitz/transloadit-csharp-sdk

Public Methods

Method Description
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.

Method Details

GetLogger() public static method

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
return ITransloaditLogger