Class JBossLevelMapping

    • Field Detail

      • DEFAULT_LEVEL

        public static final org.jboss.logmanager.Level DEFAULT_LEVEL
      • DEFAULT_LOG4J_LEVEL

        public static final org.apache.log4j.Level DEFAULT_LOG4J_LEVEL
    • Method Detail

      • getPriorityFor

        public static org.apache.log4j.Level getPriorityFor​(Level level)
        Finds the log4j level for the level.
        Parameters:
        level - the JUL logging level.
        Returns:
        the log4j logging level or null if it cold not be found.
      • getPriorityFor

        public static org.apache.log4j.Level getPriorityFor​(int level)
        Finds the log4j level for the level.
        Parameters:
        level - the JUL logging level.
        Returns:
        the log4j logging level or null if it cold not be found.
      • getLevelFor

        public static Level getLevelFor​(org.apache.log4j.Priority level)
        Finds the jboss-log-manager level for the log4j priority.
        Parameters:
        level - the log4j level/priority.
        Returns:
        the jboss-log-manager level or by default Level.DEBUG.