logo

EO principles respected here DevOps By Rultor.com We recommend IntelliJ IDEA

mvn PDD status codecov Maven Central Javadoc Hits-of-Code

More details are here: log.jcabi.com

Read this blog post: Get Rid of Java Static Loggers

Logger is a convenient static wrapper of slf4j (don't forget to include one of SLF4J Bindings into the project):

import com.jcabi.log.Logger;
class Foo {
  void bar(int value) {
    Logger.debug(this, "method #bar(%d) was called", value);
  }
}

Besides standard %s placeholders inside the format string, you can use other custom ones, which help formatting common values faster:

You are welcome to suggest your own "decors".

How to contribute?

Fork the repository, make changes, submit a pull request. We promise to review your changes same day and apply to the master branch, if they look correct.

Please run Maven build before submitting a pull request:

mvn clean install -Pqulice

Join libs.tech

...and unlock some superpowers

GitHub

We won't share your data with anyone else.