コード例 #1
0
 internal static void Error(
     string message,
     Exception exception,
     ChunkUploadParameter chunkUploadParameter)
 {
     OnLogging(LogLevel.Error, message, chunkUploadParameter, exception);
 }
コード例 #2
0
 public ChunkedUploadException(
     string message,
     ChunkUploadParameter chunkUploadParameter)
     : base(message)
 {
     ChunkUploadParameter = chunkUploadParameter;
 }
コード例 #3
0
 private static void OnLogging(
     LogLevel logLevel,
     string message,
     ChunkUploadParameter chunkUploadParameter,
     Exception exception = null)
 {
     if (UploadLogging != null)
         UploadLogging(logLevel, message, chunkUploadParameter, exception);
 }
コード例 #4
0
 internal static void Warning(
     string message,
     ChunkUploadParameter chunkUploadParameter)
 {
     OnLogging(LogLevel.Warn, message, chunkUploadParameter);
 }
コード例 #5
0
 internal static void Trace(
     string message,
     ChunkUploadParameter chunkUploadParameter)
 {
     OnLogging(LogLevel.Trace, message, chunkUploadParameter);
 }
コード例 #6
0
 internal static void Info(
     string message,
     ChunkUploadParameter chunkUploadParameter)
 {
     OnLogging(LogLevel.Info, message, chunkUploadParameter);
 }
コード例 #7
0
 internal static void Debug(
     string message,
     ChunkUploadParameter chunkUploadParameter)
 {
     OnLogging(LogLevel.Debug, message, chunkUploadParameter);
 }