aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/csharp/Grpc.Core/Logging/ILogger.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/csharp/Grpc.Core/Logging/ILogger.cs')
-rw-r--r--src/csharp/Grpc.Core/Logging/ILogger.cs24
1 files changed, 18 insertions, 6 deletions
diff --git a/src/csharp/Grpc.Core/Logging/ILogger.cs b/src/csharp/Grpc.Core/Logging/ILogger.cs
index 61e0c91388..7c0326422f 100644
--- a/src/csharp/Grpc.Core/Logging/ILogger.cs
+++ b/src/csharp/Grpc.Core/Logging/ILogger.cs
@@ -43,21 +43,33 @@ namespace Grpc.Core.Logging
ILogger ForType<T>();
/// <summary>Logs a message with severity Debug.</summary>
- void Debug(string message, params object[] formatArgs);
+ void Debug(string message);
+
+ /// <summary>Logs a formatted message with severity Debug.</summary>
+ void Debug(string format, params object[] formatArgs);
/// <summary>Logs a message with severity Info.</summary>
- void Info(string message, params object[] formatArgs);
+ void Info(string message);
+
+ /// <summary>Logs a formatted message with severity Info.</summary>
+ void Info(string format, params object[] formatArgs);
/// <summary>Logs a message with severity Warning.</summary>
- void Warning(string message, params object[] formatArgs);
+ void Warning(string message);
+
+ /// <summary>Logs a formatted message with severity Warning.</summary>
+ void Warning(string format, params object[] formatArgs);
/// <summary>Logs a message and an associated exception with severity Warning.</summary>
- void Warning(Exception exception, string message, params object[] formatArgs);
+ void Warning(Exception exception, string message);
/// <summary>Logs a message with severity Error.</summary>
- void Error(string message, params object[] formatArgs);
+ void Error(string message);
+
+ /// <summary>Logs a formatted message with severity Error.</summary>
+ void Error(string format, params object[] formatArgs);
/// <summary>Logs a message and an associated exception with severity Error.</summary>
- void Error(Exception exception, string message, params object[] formatArgs);
+ void Error(Exception exception, string message);
}
}