TraceLogger TraceLogger TraceLogger TraceLogger Class

Definition

Class for Trace logger.

public ref class TraceLogger
public class TraceLogger
type TraceLogger = class
Public Class TraceLogger
Inheritance
TraceLoggerTraceLoggerTraceLoggerTraceLogger

Remarks

Constructors

TraceLogger(TraceSource) TraceLogger(TraceSource) TraceLogger(TraceSource) TraceLogger(TraceSource)

TraceLogger(String) TraceLogger(String) TraceLogger(String) TraceLogger(String)

Constructor.

Properties

CurrentTraceLevel CurrentTraceLevel CurrentTraceLevel CurrentTraceLevel

Returns the trace source level for the current logger.

LastError LastError LastError LastError

Last Error from CRM.

LastException LastException LastException LastException

Last Exception from CRM .

Methods

GetLogFilePath() GetLogFilePath() GetLogFilePath() GetLogFilePath()

Log(Exception) Log(Exception) Log(Exception) Log(Exception)

Log an error with an Exception.

Log(String) Log(String) Log(String) Log(String)

Log a Message.

Log(String, TraceEventType) Log(String, TraceEventType) Log(String, TraceEventType) Log(String, TraceEventType)

Log a Trace event.

Log(String, TraceEventType, Exception) Log(String, TraceEventType, Exception) Log(String, TraceEventType, Exception) Log(String, TraceEventType, Exception)

Log a Trace event.

ResetLastError() ResetLastError() ResetLastError() ResetLastError()

Last error reset.

Applies to