ConfigureFromXmlAsync(LoggingBackend, Uri, CancellationToken)
Configures a LoggingBackend from an XML configuration file whose location is specified in a Uri.
Declaration
public static Task ConfigureFromXmlAsync(this LoggingBackend backend, Uri uri, CancellationToken cancellationToken = default)Parameters
| Type | Name | Description |
|---|---|---|
| LoggingBackend | backend | The backend to configure. |
| Uri | uri | The location of the configuration file. The schema is described in the LoggingConfigurationModel type. If you're using a cloud storage service, this should be a direct download link. |
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task | Nothing. |