Log4kSLF4JServiceProvider

class Log4kSLF4JServiceProvider : SLF4JServiceProvider

Service provider for integrating Log4k with SLF4J.

This class implements the org.slf4j.spi.SLF4JServiceProvider interface, providing Log4k based implementations for SLF4J's logger factory, marker factory, and MDC adapter.

The service provider initializes and manages the following components:

  • A custom ILoggerFactory implemented by Log4kILoggerFactory

  • A basic IMarkerFactory implemented by BasicMarkerFactory

  • A basic MDCAdapter implemented by BasicMDCAdapter

Usage of this provider ensures that all SLF4J logging calls are handled using the Log4k logging framework.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun getLoggerFactory(): ILoggerFactory
Link copied to clipboard
open override fun getMarkerFactory(): IMarkerFactory
Link copied to clipboard
open override fun getMDCAdapter(): MDCAdapter
Link copied to clipboard
open override fun getRequestedApiVersion(): String
Link copied to clipboard
open override fun initialize()