Printing VM log messages to the console
Logging of VM messages is not enabled by default.
It can be enabled from the image using GtVirtualMachineConsoleLogger
.
Log all default types of messages
GtVirtualMachineConsoleLogger startFor: GtVirtualMachineLevelSignal
Log specific types of messages
GtVirtualMachineConsoleLogger startFor: GtVirtualMachineTraceSignal, GtVirtualMachineDebugSignal
When there is no more need to have log messages printed to console we can stop the logger.
GtVirtualMachineConsoleLogger stop.