コード例 #1
0
 public FtpClientFactory(IOptionsMonitor <FtpClientFactoryOptions> optionsMonitor, IFtpClientLogger logger) : this(optionsMonitor)
 {
     _logger = logger;
 }
コード例 #2
0
 public static void LogTrace(this IFtpClientLogger logger, Exception exception) => logger.Log(FtpLogLevel.Trace, exception);
コード例 #3
0
 public static void LogDebug(this IFtpClientLogger logger, Exception exception) => logger.Log(FtpLogLevel.Debug, exception);
コード例 #4
0
 public static void LogError(this IFtpClientLogger logger, string message, Exception exception) => logger.Log(FtpLogLevel.Error, message, exception);
コード例 #5
0
 public static void LogCritical(this IFtpClientLogger logger, string message, Exception exception) => logger.Log(FtpLogLevel.Critical, message, exception);
コード例 #6
0
 public static void LogInformation(this IFtpClientLogger logger, string message, Exception exception) => logger.Log(FtpLogLevel.Information, message, exception);
コード例 #7
0
 public static void LogWarning(this IFtpClientLogger logger, string message, Exception exception) => logger.Log(FtpLogLevel.Warning, message, exception);
コード例 #8
0
 public static void LogCritical(this IFtpClientLogger logger, string message) => logger.Log(FtpLogLevel.Critical, message);
コード例 #9
0
 public static void LogError(this IFtpClientLogger logger, string message) => logger.Log(FtpLogLevel.Error, message);
コード例 #10
0
 public static void LogWarning(this IFtpClientLogger logger, string message) => logger.Log(FtpLogLevel.Warning, message);
コード例 #11
0
 public static void LogDebug(this IFtpClientLogger logger, string message) => logger.Log(FtpLogLevel.Debug, message);
コード例 #12
0
 public static void LogTrace(this IFtpClientLogger logger, string message) => logger.Log(FtpLogLevel.Trace, message);