Browse Source

fix: configure logger

master
QuentinN42 9 months ago
parent
commit
91b9e4f0b6
Signed by: number42 GPG Key ID: 2CD7D563712B3A50
  1. 3
      src/main/java/com/project/Main.java

3
src/main/java/com/project/Main.java

@ -1,6 +1,7 @@
package com.project;
import org.apache.log4j.Logger;
import org.apache.log4j.BasicConfigurator;
public class Main
{
@ -8,7 +9,7 @@ public class Main
public static void main( String[] args )
{
BasicConfigurator.configure();
log.info("Hello this is an info message");
System.out.println( "Hello World!" );
}
}

Loading…
Cancel
Save