PrismLogger is an interface that defines methods for logging messages with different log levels and metadata.
Logs a debug message with optional metadata.
This function is used to log 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.