## IConfigurationBuilder.AddDiagnostics method

Enables diagnostics for the current configuration.

```csharp
public IConfigurationBuilder AddDiagnostics(Action<IDiagnosticsBuilder> configure)
```

| Parameter | Type | Description |
| --- | --- | --- |
| configure | Action`1 | The [`IDiagnosticsBuilder`](../../../aspose.html.diagnostics/idiagnosticsbuilder/) configuration delegate. |

### Return Value

The [`IConfigurationBuilder`](../) so that additional calls can be chained.

### See Also

* interface [IDiagnosticsBuilder](../../../aspose.html.diagnostics/idiagnosticsbuilder/)
* interface [IConfigurationBuilder](../)
* namespace [Aspose.Html](../../../aspose.html/)
* assembly [Aspose.HTML](../../../)
