HelloWorld.java
package com.sample.app;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class HelloWorld {
public static void main(String[] args) {
Logger logger = LoggerFactory.getLogger(HelloWorld.class);
logger.debug("Hello world.");
}
}
Output
19:39:57.272 [main] DEBUG com.sample.app.HelloWorld - Hello world.
No comments:
Post a Comment