DataCollectionLogger Class

Definition

Sends error messages for diagnostic data adapters to the client, which can be the test runner, Visual Studio IDE, or Visual Studio Test Professional.

public ref class DataCollectionLogger abstract
public abstract class DataCollectionLogger
type DataCollectionLogger = class
Public MustInherit Class DataCollectionLogger
Inheritance
DataCollectionLogger

Constructors

DataCollectionLogger()

Methods

LogError(DataCollectionContext, Exception)

Logs an error message for an exception.

LogError(DataCollectionContext, String)

Logs an error message.

LogError(DataCollectionContext, String, Exception)

Logs an error message for an exception.

LogException(DataCollectionContext, Exception, DataCollectorMessageLevel)
LogWarning(DataCollectionContext, String)

Logs a warning message.

SendData(CustomNotificationEventArgs, CustomCollectorData)
SendData(DataCollectionContext, CustomCollectorData)

Applies to