OrleansLoggerExtension.Debug Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Debug(ILogger, String) |
Writes a log entry at the Verbose severity level. Verbose is suitable for debugging information that should usually not be logged in production. Verbose is lower than Info. |
Debug(ILogger, ErrorCode, String) | |
Debug(ILogger, Int32, String) |
Writes a log entry at the Debug logLevel |
Debug(ILogger, String, Object[]) |
Writes a log entry at the Debug severity level. |
Debug(ILogger, ErrorCode, String, Object[]) | |
Debug(ILogger, Int32, String, Object[]) |
Writes a log entry at the Debug logLevel |
Debug(ILogger, String)
- Source:
- ILoggerExtensions.cs
Writes a log entry at the Verbose severity level. Verbose is suitable for debugging information that should usually not be logged in production. Verbose is lower than Info.
public static void Debug (this Microsoft.Extensions.Logging.ILogger logger, string message);
static member Debug : Microsoft.Extensions.Logging.ILogger * string -> unit
<Extension()>
Public Sub Debug (logger As ILogger, message As String)
Parameters
- logger
- ILogger
The logger
- message
- String
The log message.
Applies to
Debug(ILogger, ErrorCode, String)
- Source:
- ILoggerExtensions.cs
public static void Debug (this Microsoft.Extensions.Logging.ILogger logger, Orleans.ErrorCode logCode, string message);
static member Debug : Microsoft.Extensions.Logging.ILogger * Orleans.ErrorCode * string -> unit
<Extension()>
Public Sub Debug (logger As ILogger, logCode As ErrorCode, message As String)
Parameters
- logger
- ILogger
- logCode
- ErrorCode
- message
- String
Applies to
Debug(ILogger, Int32, String)
- Source:
- ILoggerExtensions.cs
Writes a log entry at the Debug logLevel
public static void Debug (this Microsoft.Extensions.Logging.ILogger logger, int logCode, string message);
static member Debug : Microsoft.Extensions.Logging.ILogger * int * string -> unit
<Extension()>
Public Sub Debug (logger As ILogger, logCode As Integer, message As String)
Parameters
- logger
- ILogger
The logger
- logCode
- Int32
The log code associated with this message.
- message
- String
The log message.
Applies to
Debug(ILogger, String, Object[])
- Source:
- ILoggerExtensions.cs
Writes a log entry at the Debug severity level.
public static void Debug (this Microsoft.Extensions.Logging.ILogger logger, string format, params object[] args);
static member Debug : Microsoft.Extensions.Logging.ILogger * string * obj[] -> unit
<Extension()>
Public Sub Debug (logger As ILogger, format As String, ParamArray args As Object())
Parameters
- logger
- ILogger
The logger
- format
- String
Format string of the log message with named parameters
Not always suitable for String.Format
. See Microsoft.Extensions.Logging MessageTemplate section for more information. Suggest to use their pattern over this extension method
- args
- Object[]
Any arguments to the format string.
Applies to
Debug(ILogger, ErrorCode, String, Object[])
- Source:
- ILoggerExtensions.cs
public static void Debug (this Microsoft.Extensions.Logging.ILogger logger, Orleans.ErrorCode logCode, string format, params object[] args);
static member Debug : Microsoft.Extensions.Logging.ILogger * Orleans.ErrorCode * string * obj[] -> unit
<Extension()>
Public Sub Debug (logger As ILogger, logCode As ErrorCode, format As String, ParamArray args As Object())
Parameters
- logger
- ILogger
- logCode
- ErrorCode
- format
- String
- args
- Object[]
Applies to
Debug(ILogger, Int32, String, Object[])
- Source:
- ILoggerExtensions.cs
Writes a log entry at the Debug logLevel
public static void Debug (this Microsoft.Extensions.Logging.ILogger logger, int logCode, string format, params object[] args);
static member Debug : Microsoft.Extensions.Logging.ILogger * int * string * obj[] -> unit
<Extension()>
Public Sub Debug (logger As ILogger, logCode As Integer, format As String, ParamArray args As Object())
Parameters
- logger
- ILogger
The logger
- logCode
- Int32
The log code associated with this message.
- format
- String
Format string of the log message with named parameters
Not always suitable for String.Format
. See Microsoft.Extensions.Logging MessageTemplate section for more information. Suggest to use their pattern over this extension method
- args
- Object[]
Any arguments to the format string.