public class Log4jLogger extends AbstractDelegatingLogger
global, GLOBAL_LOGGER_NAME
Constructor and Description |
---|
Log4jLogger(String name,
String resourceBundleName) |
Modifier and Type | Method and Description |
---|---|
void |
addHandler(Handler handler) |
Handler[] |
getHandlers() |
Level |
getLevel() |
protected void |
internalLogFormatted(String msg,
LogRecord record) |
void |
removeHandler(Handler handler) |
void |
setLevel(Level newLevel) |
config, doLog, doLog, entering, entering, entering, exiting, exiting, fine, finer, finest, formatMessage, getParent, getUseParentHandlers, info, internalLog, isLoggable, log, log, log, log, log, logp, logp, logp, logp, logrb, logrb, logrb, logrb, setParent, setUseParentHandlers, severe, supportsHandlers, throwing, warning
config, fine, finer, finest, getAnonymousLogger, getAnonymousLogger, getFilter, getGlobal, getLogger, getLogger, getName, getResourceBundle, getResourceBundleName, info, log, log, logp, logp, logrb, logrb, setFilter, setResourceBundle, severe, warning
public Level getLevel()
getLevel
in class AbstractDelegatingLogger
public void setLevel(Level newLevel) throws SecurityException
setLevel
in class AbstractDelegatingLogger
SecurityException
public void addHandler(Handler handler) throws SecurityException
addHandler
in class AbstractDelegatingLogger
SecurityException
public void removeHandler(Handler handler) throws SecurityException
removeHandler
in class AbstractDelegatingLogger
SecurityException
public Handler[] getHandlers()
getHandlers
in class AbstractDelegatingLogger
protected void internalLogFormatted(String msg, LogRecord record)
internalLogFormatted
in class AbstractDelegatingLogger
Copyright © 2016 JBoss by Red Hat. All rights reserved.