I’m pleased to announce the release of sysout-over-slf4j version 1.0.0, a bridge between System.out/err and SLF4J.

This effectively translates a call such as:

class Foo {
...
    System.out.println("Hello World");
...
}

into the equivalent of:

class Foo {
...
    LoggerFactory.getLogger(Foo.class).info("Hello World");
...
}

allowing automatic generation of logging information such as timestamp and filtering of statements using any SLF4J implementation such as Log4J or Logback.

The project page is here:

http://projects.lidalia.org.uk/sysout-over-slf4j/

The artifacts can be downloaded here:

http://github.com/Mahoney/sysout-over-slf4j/downloads

Or via the Maven central repository:


<dependency>
    <groupId>uk.org.lidalia</groupId>
    <artifactId>sysout-over-slf4j</artifactId>
    <version>1.0.0</version>
</dependency>