AdsLoggerConfigurationCreateFromConfiguration Method

Creates the AdsLoggerConfiguration from configuration interface.


Namespace: TwinCAT.Ads.Logging
Assembly: TwinCAT.Ads.ConfigurationProviders (in TwinCAT.Ads.ConfigurationProviders.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

public static AdsLoggerConfiguration CreateFromConfiguration(
    IConfiguration configuration
)

Parameters

configuration  IConfiguration

The configuration.

Return Value

AdsLoggerConfiguration
AdsLoggerConfiguration.

Remarks

Parses the LogLevel from the following configuration object: configuration["Logging:LogLevel:Default"]

Reference

AdsLoggerConfiguration Class TwinCAT.Ads.Logging Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026