The next example demonstrates the Trace library usage to trace all events.

# Trace All Eventstrace(:AllEvents)see"Hello, world!"+nlsee"Welcome"+nlsee"How are you?"+nlmytest()newmyclass{mymethod()}funcmytestsee"Message from mytest"+nlclassmyclassfuncmymethodsee"Message from mymethod"+nl