Home > vm-providers > LogFunction
A log function, as expected by this package.
Signature:
export declare type LogFunction = (entry: Record<string, any>) => void;
The object passed as a parameter to the log function usually contains the following properties:
category: for example vbox or qemu
message: id of the message
level: for example: debug, info, error
It may also contain other properties depending on the message.
Check the logMessages for the list of messages.