1 Logging
Paul Schaub edited this page 2021-10-29 20:20:34 +02:00

PGPainless uses slf4j as an abstraction layer for various logging frameworks. That means that PGPainless will integrate into your application seamlessly and make use of your logging framework of choice.

Furthermore PGPainless makes use of logback as its preferred logging framework. Logback is used in JUnit tests and is an optional runtime dependency. Should you not want to use logback, you can simply choose not to explicitly depend on it. In that case slf4j will fall back to a no-operation logger implementation, given that no other slf4j-compatible logging framework is set up on your end.