All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pkg.UsingSignOnly Maven / Gradle / Ivy

The newest version!
package pkg;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class UsingSignOnly {
  private final Logger logger = LoggerFactory.getLogger(getClass());

  void method() {
    logger.info("{}, {}", "Hello", "world");
    log("{}", "Hello");
  }

  private void log(String format, Object data) {
    logger.debug(format, data);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy