Skip to content

HuygensING/log

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages