Skip to content

SimpleLogger example

Marcel Prestel edited this page Feb 18, 2019 · 2 revisions

Example on how to use SLF4J with this project

Documentation

Please take a look at the offical documentation of SLF4J.

Example

Add the simple logger to your project

<dependency>
  <groupId>org.slf4j</groupId>
  <artifactId>slf4j-simple</artifactId>
  <version>1.7.25</version>
</dependency>

Use the example configuration

You can find the example configuration here.

To debug the network communication, you need to set the LogLevel to TRACE.

Include the configuration file in your jar

Done :)

Clone this wiki locally