Logs a debug message with optional metadata.
The debug message.
An array of metadata objects associated with the message (optional).