|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.jersey.internal.util.ExtendedLogger
public final class ExtendedLogger
Logger extension with additional logging utility & convenience methods.
| Constructor Summary | |
|---|---|
ExtendedLogger(Logger logger,
Level debugLevel)
|
|
| Method Summary | |
|---|---|
void |
addHandler(Handler handler)
|
void |
config(String msg)
|
void |
debugLog(String messageTemplate,
Object... args)
Log a debug message using the configured debug level. |
void |
entering(String sourceClass,
String sourceMethod)
|
void |
entering(String sourceClass,
String sourceMethod,
Object param1)
|
void |
entering(String sourceClass,
String sourceMethod,
Object[] params)
|
boolean |
equals(Object obj)
|
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)
|
Level |
getDebugLevel()
Get the configured debug level. |
Filter |
getFilter()
|
Handler[] |
getHandlers()
|
Level |
getLevel()
|
String |
getName()
|
Logger |
getParent()
|
ResourceBundle |
getResourceBundle()
|
String |
getResourceBundleName()
|
boolean |
getUseParentHandlers()
|
int |
hashCode()
|
void |
info(String msg)
|
boolean |
isDebugLoggable()
Check if the debug level is loggable. |
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 |
setFilter(Filter newFilter)
|
void |
setLevel(Level newLevel)
|
void |
setParent(Logger parent)
|
void |
setUseParentHandlers(boolean useParentHandlers)
|
void |
severe(String msg)
|
void |
throwing(String sourceClass,
String sourceMethod,
Throwable thrown)
|
String |
toString()
|
void |
warning(String msg)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ExtendedLogger(Logger logger,
Level debugLevel)
| Method Detail |
|---|
public boolean isDebugLoggable()
true if the debug level is loggable, false
otherwise.public Level getDebugLevel()
public void debugLog(String messageTemplate,
Object... args)
messageTemplate - args - public String toString()
toString in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic void warning(String msg)
public void throwing(String sourceClass,
String sourceMethod,
Throwable thrown)
public void severe(String msg)
public void setUseParentHandlers(boolean useParentHandlers)
public void setParent(Logger parent)
public void setLevel(Level newLevel)
throws SecurityException
SecurityException
public void setFilter(Filter newFilter)
throws SecurityException
SecurityException
public void removeHandler(Handler handler)
throws SecurityException
SecurityException
public void logrb(Level level,
String sourceClass,
String sourceMethod,
String bundleName,
String msg,
Throwable thrown)
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,
Object param1)
public void logrb(Level level,
String sourceClass,
String sourceMethod,
String bundleName,
String msg)
public void logp(Level level,
String sourceClass,
String sourceMethod,
String msg,
Throwable thrown)
public void logp(Level level,
String sourceClass,
String sourceMethod,
String msg,
Object[] params)
public void logp(Level level,
String sourceClass,
String sourceMethod,
String msg,
Object param1)
public void logp(Level level,
String sourceClass,
String sourceMethod,
String msg)
public void log(Level level,
String msg,
Throwable thrown)
public void log(Level level,
String msg,
Object[] params)
public void log(Level level,
String msg,
Object param1)
public void log(Level level,
String msg)
public void log(LogRecord record)
public boolean isLoggable(Level level)
public void info(String msg)
public boolean getUseParentHandlers()
public String getResourceBundleName()
public ResourceBundle getResourceBundle()
public Logger getParent()
public String getName()
public Level getLevel()
public Handler[] getHandlers()
public Filter getFilter()
public void finest(String msg)
public void finer(String msg)
public void fine(String msg)
public void exiting(String sourceClass,
String sourceMethod,
Object result)
public void exiting(String sourceClass,
String sourceMethod)
public void entering(String sourceClass,
String sourceMethod,
Object[] params)
public void entering(String sourceClass,
String sourceMethod,
Object param1)
public void entering(String sourceClass,
String sourceMethod)
public void config(String msg)
public void addHandler(Handler handler)
throws SecurityException
SecurityException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||