The AS Logger is a powerful library for structured logging and alarm recording in modern automation projects. Log events are created through a uniform fluent API, automatically enriched, filtered and dispatched to one or more output targets – without slowing down your application tasks.
No more unstructured text output. The AS Logger brings structured logging and alarm recording to your CODESYS application – decoupled, extensible and task-safe, from the console all the way to a central syslog server.
Details
The AS Logger replaces scattered text output with structured log events. Using a chainable fluent API, events are created with six log levels, key/value pairs and placeholder templates – readable for humans, parseable for machines.
Writing is fully decoupled from output: a log call simply places the event into an inbox and returns immediately. A dedicated worker task, created by the Logger itself, handles all processing – no cyclic call from the application is required. Even slow output targets never block your application tasks, keeping your cycle times deterministic.
Multiple output targets are served simultaneously – from the console and the visualization to a central syslog server. Each target has its own level, filters and enrichments, and open interfaces allow custom sinks, decorators and filters to be added without touching the core.
Key features include:
Six log levels: TRACE, DEBUG, INFO, WARN, ERROR, FATAL
Fluent API with structured key/value pairs and placeholder templates
Decoupled writing via an inbox with a dedicated worker task
Filters and log level configurable per sink; alarm logging with severities and alarm codes
Open interfaces (ISink, IDecorator, ISinkFilter), task-safe output and built-in diagnostic counters
Benefits at a glance:
Makes faults and events traceable
Speeds up commissioning and troubleshooting
Never blocks application tasks – cycle times remain deterministic
Establishes consistent logging across all applications
Typical applications:
Fault and alarm recording on machines
Displaying recent events in the visualization
Centrally collecting logs from multiple controllers via syslog
Diagnostics during development and commissioning
The AS Logger transforms logging into a structured, decoupled process – creating transparency in your application without compromising its real-time behavior.
Requirements
Requirement
Value
Programming System
CODESYS Development System V3.5.22.30
Target System
CODESYS Control V3.5.22.30
Supported Platforms / Devices
No restriction
Additional Requirements
None
Licensing
Single Device Only
Restrictions
None
Required Accessory
None
Support
Technical support is not included with this product. To obtain technical support, please purchase a CODESYS Support Ticket.
For general error messages or pre-sales inquiries, please use the "My Question" contact form directly, which can also be used without logging in. A list of alternative support resources can be found in the support section of the CODESYS Group website.