If you are using a bash console or terminal, you can see a different color for each of the log levels. Here is the list of colors supported by a bash terminal:
FG_BLACK=30 FG_RED=31 FG_GREEN=32 FG_YELLOW=33 FG_BLUE=34 FG_VIOLET=35 FG_CYAN=36 FG_WHITE=37
So to change the color of a level, you can do:
Debug.setColor(32);
Or you can pass the color code on startup for a level:
-DdebugColor=32
The default colors for the levels are:
Debug(36), Info(32), Warn(35), Error(34), Alert(33), Fatal(31)
You can see them by running the following command-line:
java -cp mentalog.jar -DlogColors=true org.mentalog.Log
NOTE: Remember that the colors are by default disabled. You can enable them by passing -DlogColors=true on startup or by calling Log.setColors(true). Also remember files do not support coloring, only the bash console.