Skip to content

Latest commit

 

History

History
executable file
·
22 lines (18 loc) · 427 Bytes

readme.md

File metadata and controls

executable file
·
22 lines (18 loc) · 427 Bytes

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.