Log Messages
I use the UserLog library to help describe what my code is doing
. Machine HMIs provide valuable information through alarms and diagnostic screens
. However, it may not always explain what the code is doing
.

The UserLog library is for programmers who want a written narrative of how their code is executing.
Advantages
Bundles ArEventLog function blocks into easy single-call functions.
Use directly in FOR loops and nested conditional statements.
Log application events alongside B&R product events in the Automation Studio logger.
Utilize the built-in User logbook.
Supports in-line string formatting for multiple data types.
Manage logging verbosity.
Disadvantages
What are you going to do with all the time saved rapidly debugging code from your excellent logging? ![]()
Download
Download the library here.
This is not an official library and is supported by the community. Source code, documentation, and issues are manages through GitHub.