|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.log4j.Category
org.apache.log4j.Logger
org.broadleafcommerce.common.logging.SupportLogger
public class SupportLogger
Extend Log4J Logger implementation to provide support for the new SUPPORT log level type.
| Field Summary | |
|---|---|
protected String |
moduleName
|
| Fields inherited from class org.apache.log4j.Category |
|---|
additive, level, name, parent, repository, resourceBundle |
| Constructor Summary | |
|---|---|
SupportLogger(String moduleName,
String name)
|
|
| Method Summary | |
|---|---|
void |
lifecycle(LifeCycleEvent lifeCycleEvent,
Object message)
Generate a specialized SUPPORT level log message that includes a LifeCycleEvent in the message. |
void |
support(Object message)
Generate a SUPPORT level log message |
void |
support(Object message,
Throwable t)
Generate a SUPPORT level log message with an accompanying Throwable |
| Methods inherited from class org.apache.log4j.Logger |
|---|
getLogger, getLogger, getLogger, getRootLogger, isTraceEnabled, trace, trace |
| Methods inherited from class org.apache.log4j.Category |
|---|
addAppender, assertLog, callAppenders, debug, debug, error, error, exists, fatal, fatal, forcedLog, getAdditivity, getAllAppenders, getAppender, getChainedPriority, getCurrentCategories, getDefaultHierarchy, getEffectiveLevel, getHierarchy, getInstance, getInstance, getLevel, getLoggerRepository, getName, getParent, getPriority, getResourceBundle, getResourceBundleString, getRoot, info, info, isAttached, isDebugEnabled, isEnabledFor, isInfoEnabled, l7dlog, l7dlog, log, log, log, removeAllAppenders, removeAppender, removeAppender, setAdditivity, setLevel, setPriority, setResourceBundle, shutdown, warn, warn |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String moduleName
| Constructor Detail |
|---|
public SupportLogger(String moduleName,
String name)
| Method Detail |
|---|
public void support(Object message)
message - the log message
public void support(Object message,
Throwable t)
message - the log messaget - the exception to accompany the log message - will result in a stack track in the log
public void lifecycle(LifeCycleEvent lifeCycleEvent,
Object message)
lifeCycleEvent - The module life cycle type for this log messagemessage - the log message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||