Implementation of the PrismLogger interface.
Logs a debug message with optional metadata.
Logs an error with optional metadata.
Logs an error message with optional metadata.
Logs an information message with optional metadata.
Logs a warning message with optional metadata.