View Javadoc
1   package com.jsql.util;
2   
3   import org.apache.logging.log4j.Level;
4   
5   import java.awt.*;
6   
7   public class LogLevelUtil {
8   
9       // Used by model for vuln report and by view for text colors
10      public static final Color COLOR_RED = new Color(0xFF6B68);
11      public static final Color COLOR_BLU = new Color(0x5394EC);
12      public static final Color COLOR_GREEN = new Color(0x299999);
13      public static final Color COLOR_GRAY = new Color(0x555555);
14  
15      // ERROR 200
16      public static final Level CONSOLE_JAVA = Level.forName("CONSOLE_JAVA", 202);
17      public static final Level CONSOLE_ERROR = Level.forName("CONSOLE_ERROR", 201);
18      
19      // INFO 400
20      public static final Level CONSOLE_INFORM = Level.forName("CONSOLE_INFORM", 403);
21      public static final Level CONSOLE_SUCCESS = Level.forName("CONSOLE_SUCCESS", 402);
22      public static final Level CONSOLE_DEFAULT = Level.forName("CONSOLE_DEFAULT", 401);
23      
24      // TRACE 600
25      public static final Level IGNORE = Level.forName("IGNORE", 601);
26      
27      private LogLevelUtil() {
28          // Utility class
29      }
30  }