File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ [ ![ Build] ( https://github.com/avaje/avaje-applog-slf4j/actions/workflows/build.yml/badge.svg )] ( https://github.com/avaje/avaje-applog-slf4j/actions/workflows/build.yml )
2+ [ ![ Maven Central] ( https://img.shields.io/maven-central/v/io.avaje/avaje-applog-slf4j.svg?label=Maven%20Central )] ( https://mvnrepository.com/artifact/io.avaje/avaje-applog-slf4j )
3+ [ ![ License] ( https://img.shields.io/badge/License-Apache%202.0-blue.svg )] ( https://github.com/avaje/avaje-applog-slf4j/blob/master/LICENSE )
4+ [ ![ JDK EA] ( https://github.com/avaje/avaje-applog-slf4j/actions/workflows/jdk-ea.yml/badge.svg )] ( https://github.com/avaje/avaje-applog-slf4j/actions/workflows/jdk-ea.yml )
5+
16# avaje-applog-slf4j
27SLF4J provider for AppLog System.Logger
8+
9+ ### Dependency
10+
11+ ``` xml
12+ <dependency >
13+ <groupId >io.avaje</groupId >
14+ <artifactId >avaje-applog-slf4j</artifactId >
15+ <version >1.0</version >
16+ </dependency >
17+ ```
18+
19+ ### How to use
20+
21+ Add the above dependency into the classpath / module-path.
22+
23+ If using module-path additionally add a requires clause into module-info:
24+
25+ ``` java
26+ requires io. avaje. applog. slf4j;
27+ ```
28+
29+ This means that the System.Logger returned by AppLog.getLogger() uses
30+ ` slf4j-api Logger ` and all the log events are processed by slf4j-api.
You can’t perform that action at this time.
0 commit comments