<dependency>
<groupId>io.github.hakky54</groupId>
<artifactId>logcaptor</artifactId>
<version>2.3.0</version>
</dependency>
compile
|-- ch.qos.logback:logback-classic:1.2.3
test
|-- org.junit.jupiter:junit-jupiter-api:5.7.0
|-- org.junit.jupiter:junit-jupiter-engine:5.7.0
|-- org.assertj:assertj-core:3.18.1
|-- org.apache.logging.log4j:log4j-to-slf4j:2.14.0
|-- org.slf4j:log4j-over-slf4j:1.7.30