logback config file

This commit is contained in:
YuCheng Hu 2020-01-29 09:16:50 -05:00
parent feb5f139c9
commit 45ae1334da
1 changed files with 4 additions and 2 deletions

View File

@ -3,11 +3,13 @@ package com.ossez.demo.logging.logback;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
/**
* @author YuCheng
*/
public class HelloWorld { public class HelloWorld {
private static final Logger logger = LoggerFactory.getLogger(HelloWorld.class); private static final Logger logger = LoggerFactory.getLogger(HelloWorld.class);
public static void main(String[] args) { public static void main(String... args) {
logger.debug("Hello from Logback"); logger.debug("Hello from Logback");