LoggingPort

interface LoggingPort

Logging Contract for integrating different logging libraries.

Inheritors

Functions

Link copied to clipboard
abstract fun createLogger(name: String): LoggerPort

Create Logger with name.

Link copied to clipboard
abstract fun isLoggerLevelEnabled(name: String, level: LoggingLevel): Boolean

Check if a logging level is enabled for a logger.

Link copied to clipboard
abstract fun setLoggerLevel(name: String, level: LoggingLevel)

Set logging level for a logger.