EntitySearchService.Log Method

Definition

Overloads

Log(Exception)

Retrieves the log details using the specified exception object.

Log(String)

Retrieves the log details using the specified exception message.

Log(String, TraceEventType)

Retrieves the log details using the specified exception message and the type of event that caused the trace.

Log(String, TraceEventType, Exception)

Log(Exception)

Retrieves the log details using the specified exception object.

protected:
 void Log(Exception ^ ex);
protected void Log (Exception ex);
member this.Log : Exception -> unit
Protected Sub Log (ex As Exception)

Parameters

ex
Exception

The exception object for retrieving the log details.

Applies to

Log(String)

Retrieves the log details using the specified exception message.

protected:
 void Log(System::String ^ message);
protected void Log (string message);
member this.Log : string -> unit
Protected Sub Log (message As String)

Parameters

message
String

The exception message for retrieving the log details.

Applies to

Log(String, TraceEventType)

Retrieves the log details using the specified exception message and the type of event that caused the trace.

protected:
 void Log(System::String ^ message, System::Diagnostics::TraceEventType trace);
protected void Log (string message, System.Diagnostics.TraceEventType trace);
member this.Log : string * System.Diagnostics.TraceEventType -> unit
Protected Sub Log (message As String, trace As TraceEventType)

Parameters

message
String

The exception message for retrieving the log details.

trace
TraceEventType

The TraceEventType enumeration for retrieving the log details.

Applies to

Log(String, TraceEventType, Exception)

protected:
 void Log(System::String ^ message, System::Diagnostics::TraceEventType trace, Exception ^ ex);
protected void Log (string message, System.Diagnostics.TraceEventType trace, Exception ex);
member this.Log : string * System.Diagnostics.TraceEventType * Exception -> unit
Protected Sub Log (message As String, trace As TraceEventType, ex As Exception)

Parameters

message
String

Applies to