Infosys在阅读器中打开 / AI 翻译

ADS · 0 次阅读

AdsLoggerProvider.CreateLogger Method

Creates a new AdsConsoleLogger instance that logs to the console.


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

Syntax

C#

public ILogger CreateLogger(
string categoryName
)

Parameters

categoryName  String

The category name for messages produced by the logger.

Return Value

ILogger
The instance of ILogger that was created.

Reference

AdsLoggerProvider Class TwinCAT.Ads.Logging Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026