From e1631d0a867f80cac7640c82b63caabaeb8688a4 Mon Sep 17 00:00:00 2001 From: nellysalima Date: Sun, 17 Mar 2019 21:47:19 +0100 Subject: [PATCH] Changing log's color Relates #3 --- src/main/java/ch/hearc/ig/odi/logger/LogClass.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/ch/hearc/ig/odi/logger/LogClass.java b/src/main/java/ch/hearc/ig/odi/logger/LogClass.java index 6508dc9..3fe78a7 100644 --- a/src/main/java/ch/hearc/ig/odi/logger/LogClass.java +++ b/src/main/java/ch/hearc/ig/odi/logger/LogClass.java @@ -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); } } \ No newline at end of file