TraceLogger Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the trace class.
public ref class TraceLogger : Microsoft::Xrm::Tooling::Connector::TraceLoggerBase
public class TraceLogger : Microsoft.Xrm.Tooling.Connector.TraceLoggerBase
type TraceLogger = class
inherit TraceLoggerBase
Public Class TraceLogger
Inherits TraceLoggerBase
- Inheritance
-
TraceLogger
Constructors
TraceLogger(String) |
Initializes a new instance of the TraceLogger class. |
Methods
Log(Exception) |
Logs an error with an exception |
Log(String, TraceEventType, Exception) |
Logs a trace event with the message and the exception. |
Log(String, TraceEventType) |
Logs a trace event. |
Log(String) |
Logs a message as an information event. |
ResetLastError() |
Resets the last stored error. |
SendErrorTelemetryEvent(String, Exception) |