public class JBossLevelMapping extends Object
Modifier and Type | Field and Description |
---|---|
static org.jboss.logmanager.Level |
DEFAULT_LEVEL |
static org.apache.log4j.Level |
DEFAULT_LOG4J_LEVEL |
Modifier and Type | Method and Description |
---|---|
static Level |
getLevelFor(org.apache.log4j.Priority level)
Finds the
jboss-log-manager level for the log4j priority. |
static org.apache.log4j.Level |
getPriorityFor(int level)
Finds the
log4j level for the level . |
static org.apache.log4j.Level |
getPriorityFor(Level level)
Finds the
log4j level for the level . |
public static final org.jboss.logmanager.Level DEFAULT_LEVEL
public static final org.apache.log4j.Level DEFAULT_LOG4J_LEVEL
public static org.apache.log4j.Level getPriorityFor(Level level)
log4j level
for the level
.level
- the JUL logging level.null
if it cold not be found.public static org.apache.log4j.Level getPriorityFor(int level)
log4j level
for the level
.level
- the JUL logging level.null
if it cold not be found.public static Level getLevelFor(org.apache.log4j.Priority level)
jboss-log-manager level
for the log4j priority.level
- the log4j level/priority.Level.DEBUG
.Copyright © 2022 JBoss by Red Hat. All rights reserved.