ConfigureFromXml(LoggingBackend, XDocument, bool)
Configures a LoggingBackend from an XDocument.
Declaration
public static void ConfigureFromXml(this LoggingBackend backend, XDocument xml, bool throwing = false)Parameters
| Type | Name | Description |
|---|---|---|
| LoggingBackend | backend | The backend to configure. |
| XDocument | xml | The configuration file. The schema is described in the LoggingConfigurationModel type. |
| bool | throwing |
|
ConfigureFromXml(LoggingBackend, XElement, bool)
Configures a LoggingBackend from an XElement.
Declaration
public static void ConfigureFromXml(this LoggingBackend backend, XElement xml, bool throwing = false)Parameters
| Type | Name | Description |
|---|---|---|
| LoggingBackend | backend | The backend to configure. |
| XElement | xml | The configuration file. The schema is described in the LoggingConfigurationModel type. |
| bool | throwing |
|