@Test public void levelTest() { Level info = Level.toLevel("info"); Level error = Level.toLevel(3); Assert.assertTrue(error != null && info != null); }
protected Level(int level, String levelStr, int syslogEquivalent) { this.level = level; this.levelStr = levelStr; this.syslogEquivalent = syslogEquivalent; }
Level implements Serializable { protected Level(int level, String levelStr, int syslogEquivalent) { this.level = level; this.levelStr = levelStr; this.syslogEquivalent = syslogEquivalent; } }
Level implements Serializable { protected Level(int level, String levelStr, int syslogEquivalent) { this.level = level; this.levelStr = levelStr; this.syslogEquivalent = syslogEquivalent; } protected  Level(int level, String levelStr, int syslogEquivalent); }
Level implements Serializable { protected Level(int level, String levelStr, int syslogEquivalent) { this.level = level; this.levelStr = levelStr; this.syslogEquivalent = syslogEquivalent; } protected  Level(int level, String levelStr, int syslogEquivalent); static Level toLevel(String sArg); static Level toLevel(int val); static Level toLevel(int val, Level defaultLevel); static Level toLevel(String sArg, Level defaultLevel); boolean equals(Object o); @Override int hashCode(); boolean isGreaterOrEqual(Level r); final String toString(); final int toInt(); }
Level implements Serializable { protected Level(int level, String levelStr, int syslogEquivalent) { this.level = level; this.levelStr = levelStr; this.syslogEquivalent = syslogEquivalent; } protected  Level(int level, String levelStr, int syslogEquivalent); static Level toLevel(String sArg); static Level toLevel(int val); static Level toLevel(int val, Level defaultLevel); static Level toLevel(String sArg, Level defaultLevel); boolean equals(Object o); @Override int hashCode(); boolean isGreaterOrEqual(Level r); final String toString(); final int toInt(); final static int OFF_INT; final static int ERROR_INT; final static int WARN_INT; final static int INFO_INT; final static int DEBUG_INT; final static int ALL_INT; final static public Level OFF; final static public Level ERROR; final static public Level WARN; final static public Level INFO; final static public Level DEBUG; final static public Level ALL; }