public abstract class AbstractDelegatingLogger
extends java.util.logging.Logger
Modifier | Constructor and Description |
---|---|
protected |
AbstractDelegatingLogger(java.lang.String name,
java.lang.String resourceBundleName) |
Modifier and Type | Method and Description |
---|---|
void |
addHandler(java.util.logging.Handler handler) |
void |
config(java.lang.String msg) |
protected void |
doLog(java.util.logging.LogRecord lr) |
protected void |
doLog(java.util.logging.LogRecord lr,
java.lang.String rbname) |
void |
entering(java.lang.String sourceClass,
java.lang.String sourceMethod) |
void |
entering(java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.Object param1) |
void |
entering(java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.Object[] params) |
void |
exiting(java.lang.String sourceClass,
java.lang.String sourceMethod) |
void |
exiting(java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.Object result) |
void |
fine(java.lang.String msg) |
void |
finer(java.lang.String msg) |
void |
finest(java.lang.String msg) |
protected java.lang.String |
formatMessage(java.util.logging.LogRecord record) |
java.util.logging.Handler[] |
getHandlers() |
abstract java.util.logging.Level |
getLevel() |
java.util.logging.Logger |
getParent() |
boolean |
getUseParentHandlers() |
void |
info(java.lang.String msg) |
protected void |
internalLog(java.util.logging.LogRecord record) |
protected abstract void |
internalLogFormatted(java.lang.String msg,
java.util.logging.LogRecord record) |
boolean |
isLoggable(java.util.logging.Level level) |
void |
log(java.util.logging.Level level,
java.lang.String msg) |
void |
log(java.util.logging.Level level,
java.lang.String msg,
java.lang.Object param1) |
void |
log(java.util.logging.Level level,
java.lang.String msg,
java.lang.Object[] params) |
void |
log(java.util.logging.Level level,
java.lang.String msg,
java.lang.Throwable thrown) |
void |
log(java.util.logging.LogRecord record) |
void |
logp(java.util.logging.Level level,
java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.String msg) |
void |
logp(java.util.logging.Level level,
java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.String msg,
java.lang.Object param1) |
void |
logp(java.util.logging.Level level,
java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.String msg,
java.lang.Object[] params) |
void |
logp(java.util.logging.Level level,
java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.String msg,
java.lang.Throwable thrown) |
void |
logrb(java.util.logging.Level level,
java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.String bundleName,
java.lang.String msg) |
void |
logrb(java.util.logging.Level level,
java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.String bundleName,
java.lang.String msg,
java.lang.Object param1) |
void |
logrb(java.util.logging.Level level,
java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.String bundleName,
java.lang.String msg,
java.lang.Object[] params) |
void |
logrb(java.util.logging.Level level,
java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.String bundleName,
java.lang.String msg,
java.lang.Throwable thrown) |
void |
removeHandler(java.util.logging.Handler handler) |
void |
setLevel(java.util.logging.Level newLevel) |
void |
setParent(java.util.logging.Logger parent) |
void |
setUseParentHandlers(boolean useParentHandlers) |
void |
severe(java.lang.String msg) |
protected boolean |
supportsHandlers() |
void |
throwing(java.lang.String sourceClass,
java.lang.String sourceMethod,
java.lang.Throwable thrown) |
void |
warning(java.lang.String msg) |
config, fine, finer, finest, getAnonymousLogger, getAnonymousLogger, getFilter, getGlobal, getLogger, getLogger, getName, getResourceBundle, getResourceBundleName, info, log, log, logp, logp, logrb, logrb, setFilter, setResourceBundle, severe, warning
protected AbstractDelegatingLogger(java.lang.String name, java.lang.String resourceBundleName)
public void log(java.util.logging.LogRecord record)
log
in class java.util.logging.Logger
public void log(java.util.logging.Level level, java.lang.String msg)
log
in class java.util.logging.Logger
public void log(java.util.logging.Level level, java.lang.String msg, java.lang.Object param1)
log
in class java.util.logging.Logger
public void log(java.util.logging.Level level, java.lang.String msg, java.lang.Object[] params)
log
in class java.util.logging.Logger
public void log(java.util.logging.Level level, java.lang.String msg, java.lang.Throwable thrown)
log
in class java.util.logging.Logger
public void logp(java.util.logging.Level level, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.String msg)
logp
in class java.util.logging.Logger
public void logp(java.util.logging.Level level, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.String msg, java.lang.Object param1)
logp
in class java.util.logging.Logger
public void logp(java.util.logging.Level level, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.String msg, java.lang.Object[] params)
logp
in class java.util.logging.Logger
public void logp(java.util.logging.Level level, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.String msg, java.lang.Throwable thrown)
logp
in class java.util.logging.Logger
public void logrb(java.util.logging.Level level, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.String bundleName, java.lang.String msg)
logrb
in class java.util.logging.Logger
public void logrb(java.util.logging.Level level, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.String bundleName, java.lang.String msg, java.lang.Object param1)
logrb
in class java.util.logging.Logger
public void logrb(java.util.logging.Level level, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.String bundleName, java.lang.String msg, java.lang.Object[] params)
logrb
in class java.util.logging.Logger
public void logrb(java.util.logging.Level level, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.String bundleName, java.lang.String msg, java.lang.Throwable thrown)
logrb
in class java.util.logging.Logger
public void entering(java.lang.String sourceClass, java.lang.String sourceMethod)
entering
in class java.util.logging.Logger
public void entering(java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.Object param1)
entering
in class java.util.logging.Logger
public void entering(java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.Object[] params)
entering
in class java.util.logging.Logger
public void exiting(java.lang.String sourceClass, java.lang.String sourceMethod)
exiting
in class java.util.logging.Logger
public void exiting(java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.Object result)
exiting
in class java.util.logging.Logger
public void throwing(java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.Throwable thrown)
throwing
in class java.util.logging.Logger
public void severe(java.lang.String msg)
severe
in class java.util.logging.Logger
public void warning(java.lang.String msg)
warning
in class java.util.logging.Logger
public void info(java.lang.String msg)
info
in class java.util.logging.Logger
public void config(java.lang.String msg)
config
in class java.util.logging.Logger
public void fine(java.lang.String msg)
fine
in class java.util.logging.Logger
public void finer(java.lang.String msg)
finer
in class java.util.logging.Logger
public void finest(java.lang.String msg)
finest
in class java.util.logging.Logger
public void setLevel(java.util.logging.Level newLevel) throws java.lang.SecurityException
setLevel
in class java.util.logging.Logger
java.lang.SecurityException
public abstract java.util.logging.Level getLevel()
getLevel
in class java.util.logging.Logger
public boolean isLoggable(java.util.logging.Level level)
isLoggable
in class java.util.logging.Logger
protected boolean supportsHandlers()
public void addHandler(java.util.logging.Handler handler) throws java.lang.SecurityException
addHandler
in class java.util.logging.Logger
java.lang.SecurityException
public void removeHandler(java.util.logging.Handler handler) throws java.lang.SecurityException
removeHandler
in class java.util.logging.Logger
java.lang.SecurityException
public java.util.logging.Handler[] getHandlers()
getHandlers
in class java.util.logging.Logger
public void setUseParentHandlers(boolean useParentHandlers)
setUseParentHandlers
in class java.util.logging.Logger
public boolean getUseParentHandlers()
getUseParentHandlers
in class java.util.logging.Logger
public java.util.logging.Logger getParent()
getParent
in class java.util.logging.Logger
public void setParent(java.util.logging.Logger parent)
setParent
in class java.util.logging.Logger
protected void doLog(java.util.logging.LogRecord lr)
protected void doLog(java.util.logging.LogRecord lr, java.lang.String rbname)
protected void internalLog(java.util.logging.LogRecord record)
protected abstract void internalLogFormatted(java.lang.String msg, java.util.logging.LogRecord record)
protected java.lang.String formatMessage(java.util.logging.LogRecord record)