usage:
add dependency:
<dependency>
<groupId>nl.knaw.huygens</groupId>
<artifactId>log</artifactId>
<version>${log.version}</version>
</dependency>
import nl.knaw.huygens.Log;
The singleton Log
delegates all org.slf4j.Logger
methods, so you can use it like this:
Log.debug("var={}",var);
without having to do a Loggerfactory.getLogger(Some.class)
;
It uses logback as a logger.