Interface IDiagnosticsBuilder

Interface IDiagnosticsBuilder

Namespace: Aspose.Html.Diagnostics
Assembly: Aspose.HTML.dll (25.2.0)

An interface for configuring diagnostic tools.

[ComVisible(true)]
public interface IDiagnosticsBuilder

Methods

AddLogging(ILogger)

Enables logs collection.

IDiagnosticsBuilder AddLogging(ILogger logger)

Parameters

logger ILogger

Implementation of interface Microsoft.Extensions.Logging.ILogger which will be used for logging.

Returns

IDiagnosticsBuilder

The Aspose.Html.Diagnostics.IDiagnosticsBuilder so that additional calls can be chained.

AddMetrics()

Enables metrics collection.

IDiagnosticsBuilder AddMetrics()

Returns

IDiagnosticsBuilder

The Aspose.Html.Diagnostics.IDiagnosticsBuilder so that additional calls can be chained.

AddTracing()

Enables traces collection.

IDiagnosticsBuilder AddTracing()

Returns

IDiagnosticsBuilder

The Aspose.Html.Diagnostics.IDiagnosticsBuilder so that additional calls can be chained.