Logging VM messages using Beacon
The VM implements a logging systems similar to Beacon.
There are five types of log messages present by default in the VM. ERROR is the highest-priority log messages and TRACE the lowest. Each type of log message has a dedicates class that subclasses GtVirtualMachineLevelSignal
#signalName:GtVirtualMachineErrorSignal
#signalName:GtVirtualMachineWarningSignal
#signalName:GtVirtualMachineInfoSignal
#signalName:GtVirtualMachineDebugSignal
#signalName:GtVirtualMachineTraceSignal
There are two main ways to work with these log messages:
- access them from within the image: Accessing VM log messages using Beacon
- print them the console: Printing VM log messages to the console