Skip to content

Commit

Permalink
Changing log's color
Browse files Browse the repository at this point in the history
Relates #3
  • Loading branch information
nellysalima committed Mar 17, 2019
1 parent f9f584f commit e1631d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/ch/hearc/ig/odi/logger/LogClass.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ public static void info(CharSequence message){
}

public static void warn(CharSequence message){
System.out.println("Logger warning : " + message);
System.out.println("\u001B[31m" + "Logger warning : " + message);
}

public static void fatal(CharSequence message){
System.out.println("Logger fatal : " + message);
System.out.println("\u001B[33m" + "Logger fatal : " + message);
}

}

0 comments on commit e1631d0

Please sign in to comment.