elf4j / slf4j-elf4j

An adapter to use elf4j-engine as runtime logging service provider for SLF4J API

Home Page:https://elf4j.github.io/slf4j-elf4j/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

slf4j-elf4j

An adapter to use elf4j-engine as the runtime logging engine of SLF4J.

User Story

As an SLF4J logging API user, I want to opt to use elf4j-engine as the runtime logging engine.

Prerequisite

  • Java 8 or better

Get It...

Maven Central

Use It...

Similar to other SLF4J compatible implementations, code against the SLF4J API, and install this as a runtime-scope dependency in Maven or other build tools alike:

...
<dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-api</artifactId>
    <scope>compile</scope>
</dependency>
<dependency>
    <groupId>io.github.elf4j</groupId>
    <artifactId>slf4j-elf4j</artifactId>
    <scope>runtime</scope>
</dependency>
...

The usual elf4j-engine configuration applies.