synchronized
void
|
addAppender(Appender newAppender)
Add newAppender to the list of appenders of this
Category instance.
|
void
|
assertLog(boolean assertion, String msg)
If assertion parameter is false , then
logs msg as an error statement.
|
void
|
callAppenders(LoggingEvent event)
Call the appenders in the hierrachy starting at
this .
|
void
|
debug(Object message, Throwable t)
Log a message object with the DEBUG level including
the stack trace of the Throwable t passed as
parameter.
|
void
|
debug(Object message)
Log a message object with the DEBUG level.
|
void
|
error(Object message, Throwable t)
Log a message object with the ERROR level including
the stack trace of the Throwable t passed as
parameter.
|
void
|
error(Object message)
Log a message object with the ERROR Level.
|
static
Logger
|
exists(String name)
|
void
|
fatal(Object message)
Log a message object with the FATAL Level.
|
void
|
fatal(Object message, Throwable t)
Log a message object with the FATAL level including
the stack trace of the Throwable t passed as
parameter.
|
void
|
forcedLog(String fqcn, Priority level, Object message, Throwable t)
This method creates a new logging event and logs the event
without further checks.
|
boolean
|
getAdditivity()
Get the additivity flag for this Category instance.
|
synchronized
Enumeration
|
getAllAppenders()
Get the appenders contained in this category as an Enumeration.
|
synchronized
Appender
|
getAppender(String name)
Look for the appender named as name .
|
Priority
|
getChainedPriority()
|
static
Enumeration
|
getCurrentCategories()
|
static
LoggerRepository
|
getDefaultHierarchy()
|
Level
|
getEffectiveLevel()
Starting from this category, search the category hierarchy for a
non-null level and return it.
|
LoggerRepository
|
getHierarchy()
|
static
Category
|
getInstance(String name)
|
static
Category
|
getInstance(Class clazz)
|
final
Level
|
getLevel()
Returns the assigned Level , if any, for this Category.
|
LoggerRepository
|
getLoggerRepository()
|
final
String
|
getName()
Return the category name.
|
final
Category
|
getParent()
Returns the parent of this category.
|
final
Level
|
getPriority()
This method is deprecated.
Please use getLevel() instead.
|
ResourceBundle
|
getResourceBundle()
Return the inherited ResourceBundle for this
category.
|
String
|
getResourceBundleString(String key)
Returns the string resource coresponding to key in
this category's inherited resource bundle.
|
final
static
Category
|
getRoot()
|
void
|
info(Object message)
Log a message object with the INFO Level.
|
void
|
info(Object message, Throwable t)
Log a message object with the INFO level including
the stack trace of the Throwable t passed as
parameter.
|
boolean
|
isAttached(Appender appender)
Is the appender passed as parameter attached to this category?
|
boolean
|
isDebugEnabled()
Check whether this category is enabled for the DEBUG
Level.
|
boolean
|
isEnabledFor(Priority level)
Check whether this category is enabled for a given Level passed as parameter.
|
boolean
|
isInfoEnabled()
Check whether this category is enabled for the info Level.
|
void
|
l7dlog(Priority priority, String key, Throwable t)
Log a localized message.
|
void
|
l7dlog(Priority priority, String key, Object[] params, Throwable t)
Log a localized and parameterized message.
|
void
|
log(String callerFQCN, Priority level, Object message, Throwable t)
This is the most generic printing method.
|
void
|
log(Priority priority, Object message, Throwable t)
This generic form is intended to be used by wrappers.
|
void
|
log(Priority priority, Object message)
This generic form is intended to be used by wrappers.
|
synchronized
void
|
removeAllAppenders()
Remove all previously added appenders from this Category
instance.
|
synchronized
void
|
removeAppender(Appender appender)
Remove the appender passed as parameter form the list of appenders.
|
synchronized
void
|
removeAppender(String name)
Remove the appender with the name passed as parameter form the
list of appenders.
|
void
|
setAdditivity(boolean additive)
Set the additivity flag for this Category instance.
|
void
|
setLevel(Level level)
Set the level of this Category.
|
void
|
setPriority(Priority priority)
|
void
|
setResourceBundle(ResourceBundle bundle)
|
static
void
|
shutdown()
This method is deprecated.
Please use shutdown() instead.
|
void
|
warn(Object message, Throwable t)
Log a message with the WARN level including the
stack trace of the Throwable t passed as
parameter.
|
void
|
warn(Object message)
Log a message object with the WARN Level.
|