Redigera

Dela via


OrleansLoggerExtension.Info Method

Definition

Overloads

Info(ILogger, Int32, String, Object[])

Writes a log entry at the Information logLevel

Info(ILogger, ErrorCode, String, Object[])
Info(ILogger, String, Object[])

Writes a log entry at the Information Level

Info(ILogger, Int32, String)

Writes a log entry at the Information logLevel

Info(ILogger, ErrorCode, String)
Info(ILogger, String)

Writes a log entry at the Info logLevel

Info(ILogger, Int32, String, Object[])

Source:
ILoggerExtensions.cs

Writes a log entry at the Information logLevel

public static void Info (this Microsoft.Extensions.Logging.ILogger logger, int logCode, string format, params object[] args);
static member Info : Microsoft.Extensions.Logging.ILogger * int * string * obj[] -> unit
<Extension()>
Public Sub Info (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.

Applies to

Info(ILogger, ErrorCode, String, Object[])

Source:
ILoggerExtensions.cs
public static void Info (this Microsoft.Extensions.Logging.ILogger logger, Orleans.ErrorCode logCode, string format, params object[] args);
static member Info : Microsoft.Extensions.Logging.ILogger * Orleans.ErrorCode * string * obj[] -> unit
<Extension()>
Public Sub Info (logger As ILogger, logCode As ErrorCode, format As String, ParamArray args As Object())

Parameters

logger
ILogger
logCode
ErrorCode
format
String
args
Object[]

Applies to

Info(ILogger, String, Object[])

Source:
ILoggerExtensions.cs

Writes a log entry at the Information Level

public static void Info (this Microsoft.Extensions.Logging.ILogger logger, string format, params object[] args);
static member Info : Microsoft.Extensions.Logging.ILogger * string * obj[] -> unit
<Extension()>
Public Sub Info (logger As ILogger, format As String, ParamArray args As Object())

Parameters

logger
ILogger

Target 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

Info(ILogger, Int32, String)

Source:
ILoggerExtensions.cs

Writes a log entry at the Information logLevel

public static void Info (this Microsoft.Extensions.Logging.ILogger logger, int logCode, string message);
static member Info : Microsoft.Extensions.Logging.ILogger * int * string -> unit
<Extension()>
Public Sub Info (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

Info(ILogger, ErrorCode, String)

Source:
ILoggerExtensions.cs
public static void Info (this Microsoft.Extensions.Logging.ILogger logger, Orleans.ErrorCode logCode, string message);
static member Info : Microsoft.Extensions.Logging.ILogger * Orleans.ErrorCode * string -> unit
<Extension()>
Public Sub Info (logger As ILogger, logCode As ErrorCode, message As String)

Parameters

logger
ILogger
logCode
ErrorCode
message
String

Applies to

Info(ILogger, String)

Source:
ILoggerExtensions.cs

Writes a log entry at the Info logLevel

public static void Info (this Microsoft.Extensions.Logging.ILogger logger, string message);
static member Info : Microsoft.Extensions.Logging.ILogger * string -> unit
<Extension()>
Public Sub Info (logger As ILogger, message As String)

Parameters

logger
ILogger

Target logger.

message
String

The log message.

Applies to