Skip to content

Commit

Permalink
Update project readme - add SLF4J 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
slawekjaranowski committed Sep 30, 2022
1 parent 7432a93 commit 326c450
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ Yet another way to testing logging in application which use SLF4J.

Add dependency to your project:

For `SLF4J 1.7.x`

<dependencies>
<dependency>
<groupId>org.simplify4u</groupId>
Expand All @@ -29,7 +31,18 @@ Add dependency to your project:
</dependency>
<dependencies>

Please remember, that you can only have one `SLF4J` binding on classpath,
For `SLF4J 2.x`

<dependencies>
<dependency>
<groupId>org.simplify4u</groupId>
<artifactId>slf4j2-mock</artifactId>
<version><!-- check relases page --></version>
<scope>test</scope>
</dependency>
<dependencies>

Please remember, that you can only have one `SLF4J` binding or provider on classpath,
in the most case you must replace `org.slf4j:slf4j-simple` by `org.simplify4u:slf4j-mock`.

Write test:
Expand Down

0 comments on commit 326c450

Please sign in to comment.