CustomLogger

interface CustomLogger

Interface for custom logger implementations. Provides both string-based and structured LogMessage-based logging.

Properties

Link copied to clipboard
open val name: String

The name of this logger implementation.

Functions

Link copied to clipboard
open fun debug(logMessage: LogMessage)

Log a debug message with structured data.

open fun debug(message: String?)

Log a debug message with a string.

Link copied to clipboard
open fun error(logMessage: LogMessage)

Log an error message with structured data.

open fun error(message: String?)

Log an error message with a string.

Link copied to clipboard
open fun info(logMessage: LogMessage)

Log an info message with structured data.

open fun info(message: String?)

Log an info message with a string.

Link copied to clipboard
open fun trace(logMessage: LogMessage)

Log a trace message with structured data.

open fun trace(message: String?)

Log a trace message with a string.

Link copied to clipboard
open fun warn(logMessage: LogMessage)

Log a warning message with structured data.

open fun warn(message: String?)

Log a warning message with a string.