Skip to content
Numichi edited this page Jan 23, 2022 · 4 revisions

Part of the documentation and description comes from: README.md

reactive-logger is a Java and Kotlin library adapting the slf4j logging library for reactive applications. It treats the various message-writing methods in the slf4j Logger interface as blocking I/O by wrapping each to the reactive environment that invokes the method on a scheduler appropriate for blocking I/O.

The library has many goals:

  • Provide reactive code with a familiar and natural logging interface analogous to the slf4j Logger interface in imperative code.
  • Facilitate a novel approach to the three-way trade-off between reliability, performance, and resource consumption that application logs commonly face.
  • Obey the rule restricting blocking I/O to bounded elastic schedulers without requiring a specific logging configuration to do so.
  • Provide the appropriate language approach for Java Reactor or Kotlin Coroutine code.

Documentation

Wiki

Dependency

Maven

<dependency>
  <groupId>io.github.numichi</groupId>
  <artifactId>reactive-logger</artifactId>
  <version>VERSION</version>
</dependency>

Gradle Groovy DSL

implementation 'io.github.numichi:reactive-logger:VERSION'

Gradle Kotlin DSL

implementation("io.github.numichi:reactive-logger:VERSION")
Clone this wiki locally