ILogger.LogTrace Method

Definition

Overloads

LogTrace(String, Object[])

Formats and writes a trace log message.

LogTrace(EventId, String, Object[])

Formats and writes a trace log message.

LogTrace(Exception, String, Object[])

Formats and writes a trace log message.

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

Formats and writes a trace log message.

LogTrace(String, Object[])

Formats and writes a trace log message.

public:
 void LogTrace(System::String ^ message, ... cli::array <System::Object ^> ^ args);
public void LogTrace (string message, params object[] args);
abstract member LogTrace : string * obj[] -> unit
Public Sub LogTrace (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

LogTrace(EventId, String, Object[])

Formats and writes a trace log message.

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

LogTrace(Exception, String, Object[])

Formats and writes a trace log message.

public:
 void LogTrace(Exception ^ exception, System::String ^ message, ... cli::array <System::Object ^> ^ args);
public void LogTrace (Exception exception, string message, params object[] args);
abstract member LogTrace : Exception * string * obj[] -> unit
Public Sub LogTrace (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

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

Formats and writes a trace log message.

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