An adapter to use elf4j-engine as the runtime logging engine of SLF4J.
As an SLF4J logging API user, I want to opt to use elf4j-engine as the runtime logging engine.
- Java 8 or better
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.