public class Log4jLogger extends AbstractDelegatingLogger
Constructor and Description |
---|
Log4jLogger(java.lang.String name,
java.lang.String resourceBundleName) |
Modifier and Type | Method and Description |
---|---|
void |
addHandler(java.util.logging.Handler handler) |
java.util.logging.Handler[] |
getHandlers() |
java.util.logging.Level |
getLevel() |
protected void |
internalLogFormatted(java.lang.String msg,
java.util.logging.LogRecord record) |
void |
removeHandler(java.util.logging.Handler handler) |
void |
setLevel(java.util.logging.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 Log4jLogger(java.lang.String name, java.lang.String resourceBundleName)
public java.util.logging.Level getLevel()
getLevel
in class AbstractDelegatingLogger
public void setLevel(java.util.logging.Level newLevel) throws java.lang.SecurityException
setLevel
in class AbstractDelegatingLogger
java.lang.SecurityException
public void addHandler(java.util.logging.Handler handler) throws java.lang.SecurityException
addHandler
in class AbstractDelegatingLogger
java.lang.SecurityException
public void removeHandler(java.util.logging.Handler handler) throws java.lang.SecurityException
removeHandler
in class AbstractDelegatingLogger
java.lang.SecurityException
public java.util.logging.Handler[] getHandlers()
getHandlers
in class AbstractDelegatingLogger
protected void internalLogFormatted(java.lang.String msg, java.util.logging.LogRecord record)
internalLogFormatted
in class AbstractDelegatingLogger