logback config file
This commit is contained in:
parent
feb5f139c9
commit
45ae1334da
|
@ -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");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue