ILogger.LogInformation Method

Definition

Overloads

LogInformation(Exception, String, Object[])

Formats and writes an information log message.

LogInformation(EventId, Exception, String, Object[])

Formats and writes an information log message.

LogInformation(String, Object[])

Formats and writes an information log message.

LogInformation(EventId, String, Object[])

Formats and writes an information log message.

LogInformation(Exception, String, Object[])

Formats and writes an information log message.

public:
 void LogInformation(Exception ^ exception, System::String ^ message, ... cli::array <System::Object ^> ^ args);
public void LogInformation (Exception exception, string message, params object[] args);
abstract member LogInformation : Exception * string * obj[] -> unit
Public Sub LogInformation (exception As Exception, message As String, ParamArray args As Object())

Parameters

exception
Exception

The exception related to this entry.

message
String

Format string of the scope message.

args
Object[]

An object array that contains zero or more objects to format.

Applies to

LogInformation(EventId, Exception, String, Object[])

Formats and writes an information log message.

public:
 void LogInformation(Microsoft::Xrm::Sdk::PluginTelemetry::EventId ^ eventId, Exception ^ exception, System::String ^ message, ... cli::array <System::Object ^> ^ args);
public void LogInformation (Microsoft.Xrm.Sdk.PluginTelemetry.EventId eventId, Exception exception, string message, params object[] args);
abstract member LogInformation : Microsoft.Xrm.Sdk.PluginTelemetry.EventId * Exception * string * obj[] -> unit
Public Sub LogInformation (eventId As EventId, exception As Exception, message As String, ParamArray args As Object())

Parameters

eventId
EventId

Id of the event.

exception
Exception

The exception related to this entry.

message
String

Format string of the scope message.

args
Object[]

An object array that contains zero or more objects to format.

Applies to

LogInformation(String, Object[])

Formats and writes an information log message.

public:
 void LogInformation(System::String ^ message, ... cli::array <System::Object ^> ^ args);
public void LogInformation (string message, params object[] args);
abstract member LogInformation : string * obj[] -> unit
Public Sub LogInformation (message As String, ParamArray args As Object())

Parameters

message
String

Format string of the scope message.

args
Object[]

An object array that contains zero or more objects to format.

Applies to

LogInformation(EventId, String, Object[])

Formats and writes an information log message.

public:
 void LogInformation(Microsoft::Xrm::Sdk::PluginTelemetry::EventId ^ eventId, System::String ^ message, ... cli::array <System::Object ^> ^ args);
public void LogInformation (Microsoft.Xrm.Sdk.PluginTelemetry.EventId eventId, string message, params object[] args);
abstract member LogInformation : Microsoft.Xrm.Sdk.PluginTelemetry.EventId * string * obj[] -> unit
Public Sub LogInformation (eventId As EventId, message As String, ParamArray args As Object())

Parameters

eventId
EventId

Id of the event.

message
String

Format string of the scope message.

args
Object[]

An object array that contains zero or more objects to format.

Applies to