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