PrismLogger

interface PrismLogger(source)

PrismLogger is an interface that defines methods for logging messages with different log levels and metadata.

Inheritors

Functions

Link copied to clipboard
abstract fun debug(message: String, metadata: Array<Metadata> = arrayOf())

Logs a debug message with optional metadata.

Link copied to clipboard
abstract fun error(error: Error, metadata: Array<Metadata> = arrayOf())

This function is used to log an error with optional metadata.

abstract fun error(message: String, metadata: Array<Metadata> = arrayOf())

Logs an error message with optional metadata.

Link copied to clipboard
abstract fun info(message: String, metadata: Array<Metadata> = arrayOf())

Logs an information message with optional metadata.

Link copied to clipboard
abstract fun warning(message: String, metadata: Array<Metadata> = arrayOf())

Logs a warning message with optional metadata.