TraceLogger.Log Method

Definition

Overloads

Log(Exception)

Log an error with an Exception.

Log(String)

Log a Message.

Log(String, TraceEventType)

Log a Trace event.

Log(String, TraceEventType, Exception)

Log a Trace event.

Log(Exception)

Log an error with an Exception.

public:
 void Log(Exception ^ exception);

Parameters

exception
Exception

Applies to

Log(String)

Log a Message.

public:
 void Log(System::String ^ message);

Parameters

message
String

Applies to

Log(String, TraceEventType)

Log a Trace event.

public:
 void Log(System::String ^ message, System::Diagnostics::TraceEventType eventType);

Parameters

message
String
eventType
TraceEventType

Applies to

Log(String, TraceEventType, Exception)

Log a Trace event.

public:
 void Log(System::String ^ message, System::Diagnostics::TraceEventType eventType, Exception ^ exception);

Parameters

message
String

Error Message

eventType
TraceEventType

Trace Event type Information

exception
Exception

Exception object

Applies to