AdsLoggerConfiguration Class
Class AdsLoggerConfiguration.
Inheritance Hierarchy
SystemObject
TwinCAT.Ads.LoggingAdsLoggerConfiguration
Namespace: TwinCAT.Ads.Logging
Assembly: TwinCAT.Ads.ConfigurationProviders
(in TwinCAT.Ads.ConfigurationProviders.dll) Version:
7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public class AdsLoggerConfigurationThe AdsLoggerConfiguration type exposes the following members.
Constructors
|
|
Name |
Description |
|---|---|---|
|
|
Initializes a new instance of the AdsLoggerConfiguration class. | |
|
|
Initializes a new instance of the AdsLoggerConfiguration class. |
Properties
|
|
Name |
Description |
|---|---|---|
|
|
Gets or sets the logging event identifier. | |
|
|
Gets or sets the LogLevel used by the logging (Default: LogLevel.Information) |
Methods
|
|
Name |
Description |
|---|---|---|
|
|
Creates a default AdsLoggerConfiguration with EventId = 0 and Information. | |
|
|
Creates the AdsLoggerConfiguration from configuration interface. | |
|
|
Creates a AdsLoggerConfiguration from Environment variables | |
|
|
Determines whether the specified object is equal to the current
object. | |
|
|
Allows an object to try to free resources and perform other
cleanup operations before it is reclaimed by garbage
collection. | |
|
|
Serves as the default hash function. | |
|
|
Gets the Type of the current
instance. | |
|
|
Creates a shallow copy of the current Object. | |
|
|
Returns a string that represents the current object. |
Remarks
This configuration class is used in conjunction with the AdsLoggerProvider and AdsConsoleLogger class to configure the logging.
Reference
TwinCAT.Ads.Logging Namespace AdsLoggerProvider AdsConsoleLogger
Beckhoff Automation GmbH & Co. KG 2001-2026