|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
public abstract class VariableArgumentApplicationLoggingImpl
An implementation of the methods added by
VariableArgumentApplicationLogging. Note that this implementation does
not include the methods defined by ApplicationLogging, and is designed to
be used as a base class for ApplicationLogging implementations that wish
to add VariableArgumentApplicationLogging.. All methods use
MessageFormat style argument strings. The MessageFormat interpretation
used by this class has been extended to understand DynamicBeans property
syntax DynamicBeans
. The syntax supported is that
handled by DynamicBeans.getSubPropertyValue(java.lang.Object, java.lang.String)
. For example,
"{0.absoluteName}"
or "{0.addresses[0].city}"
.
Created: August 21 2008
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
VariableArgumentApplicationLoggingImpl()
|
Method Summary | |
---|---|
protected abstract ApplicationLogging |
getLoggingForVlogging()
Return the application logging to use for variable argument logging. |
boolean |
isLoggingTrace()
Provide a default implementation for isLoggingTrace(). |
void |
vlogDebug(java.util.ResourceBundle pBundle,
java.lang.String pKey,
java.lang.Object... pArgs)
Log a resource-based log debug message. |
void |
vlogDebug(java.lang.String pFormat,
java.lang.Object... pArgs)
Log a formatted debug message. |
void |
vlogDebug(java.lang.Throwable pThrowable,
java.util.ResourceBundle pBundle,
java.lang.String pKey,
java.lang.Object... pArgs)
Log a resource-based log debug message. |
void |
vlogDebug(java.lang.Throwable pThrowable,
java.lang.String pFormat,
java.lang.Object... pArgs)
Log a formatted debug message. |
void |
vlogError(java.util.ResourceBundle pBundle,
java.lang.String pKey,
java.lang.Object... pArgs)
Log a resource-based log error message. |
void |
vlogError(java.lang.String pFormat,
java.lang.Object... pArgs)
Log a formatted error message. |
void |
vlogError(java.lang.Throwable pThrowable,
java.util.ResourceBundle pBundle,
java.lang.String pKey,
java.lang.Object... pArgs)
Log a resource-based log error message. |
void |
vlogError(java.lang.Throwable pThrowable,
java.lang.String pFormat,
java.lang.Object... pArgs)
Log a formatted error message. |
void |
vlogInfo(java.util.ResourceBundle pBundle,
java.lang.String pKey,
java.lang.Object... pArgs)
Log a resource-based log info message. |
void |
vlogInfo(java.lang.String pFormat,
java.lang.Object... pArgs)
Log a formatted info message. |
void |
vlogInfo(java.lang.Throwable pThrowable,
java.util.ResourceBundle pBundle,
java.lang.String pKey,
java.lang.Object... pArgs)
Log a resource-based log info message. |
void |
vlogInfo(java.lang.Throwable pThrowable,
java.lang.String pFormat,
java.lang.Object... pArgs)
Log a formatted info message. |
void |
vlogTrace(java.util.ResourceBundle pBundle,
java.lang.String pKey,
java.lang.Object... pArgs)
Log a resource-based log trace message. |
void |
vlogTrace(java.lang.String pFormat,
java.lang.Object... pArgs)
Log a formatted trace message. |
void |
vlogTrace(java.lang.Throwable pThrowable,
java.util.ResourceBundle pBundle,
java.lang.String pKey,
java.lang.Object... pArgs)
Log a resource-based log trace message. |
void |
vlogTrace(java.lang.Throwable pThrowable,
java.lang.String pFormat,
java.lang.Object... pArgs)
Log a formatted trace message. |
void |
vlogWarning(java.util.ResourceBundle pBundle,
java.lang.String pKey,
java.lang.Object... pArgs)
Log a resource-based log warning message. |
void |
vlogWarning(java.lang.String pFormat,
java.lang.Object... pArgs)
Log a formatted warning message. |
void |
vlogWarning(java.lang.Throwable pThrowable,
java.util.ResourceBundle pBundle,
java.lang.String pKey,
java.lang.Object... pArgs)
Log a resource-based log warning message. |
void |
vlogWarning(java.lang.Throwable pThrowable,
java.lang.String pFormat,
java.lang.Object... pArgs)
Log a formatted warning message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingWarning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logWarning, logWarning, logWarning, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingWarning |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public VariableArgumentApplicationLoggingImpl()
Method Detail |
---|
protected abstract ApplicationLogging getLoggingForVlogging()
public void vlogDebug(java.lang.Throwable pThrowable, java.util.ResourceBundle pBundle, java.lang.String pKey, java.lang.Object... pArgs)
vlogDebug
in interface VariableArgumentApplicationLogging
pThrowable
- the exception to be logged. Will be logged after the message.pBundle
- The resoure bundle.pKey
- the resource key in the bundle to use as a format string.pArgs
- the format arguments needed by the key's format string.public void vlogDebug(java.util.ResourceBundle pBundle, java.lang.String pKey, java.lang.Object... pArgs)
vlogDebug
in interface VariableArgumentApplicationLogging
pBundle
- The resoure bundle.pKey
- the resource key in the bundle to use as a format string.pArgs
- the format arguments needed by the key's format string.public void vlogDebug(java.lang.Throwable pThrowable, java.lang.String pFormat, java.lang.Object... pArgs)
vlogDebug
in interface VariableArgumentApplicationLogging
pThrowable
- the exception to be logged. Will be logged after the message.pFormat
- The format string to use. Uses MessageFormat to render.pArgs
- the format arguments needed by the key's format string.public void vlogDebug(java.lang.String pFormat, java.lang.Object... pArgs)
vlogDebug
in interface VariableArgumentApplicationLogging
pFormat
- The format string to use. Uses MessageFormat to render.pArgs
- the format arguments needed by the key's format string.public void vlogError(java.lang.Throwable pThrowable, java.util.ResourceBundle pBundle, java.lang.String pKey, java.lang.Object... pArgs)
vlogError
in interface VariableArgumentApplicationLogging
pThrowable
- the exception to be logged. Will be logged after the message.pBundle
- The resoure bundle.pKey
- the resource key in the bundle to use as a format string.pArgs
- the format arguments needed by the key's format string.public void vlogError(java.util.ResourceBundle pBundle, java.lang.String pKey, java.lang.Object... pArgs)
vlogError
in interface VariableArgumentApplicationLogging
pBundle
- The resoure bundle.pKey
- the resource key in the bundle to use as a format string.pArgs
- the format arguments needed by the key's format string.public void vlogError(java.lang.Throwable pThrowable, java.lang.String pFormat, java.lang.Object... pArgs)
vlogError
in interface VariableArgumentApplicationLogging
pThrowable
- the exception to be logged. Will be logged after the message.pFormat
- The format string to use. Uses MessageFormat to render.pArgs
- the format arguments needed by the key's format string.public void vlogError(java.lang.String pFormat, java.lang.Object... pArgs)
vlogError
in interface VariableArgumentApplicationLogging
pFormat
- The format string to use. Uses MessageFormat to render.pArgs
- the format arguments needed by the key's format string.public void vlogInfo(java.lang.Throwable pThrowable, java.util.ResourceBundle pBundle, java.lang.String pKey, java.lang.Object... pArgs)
vlogInfo
in interface VariableArgumentApplicationLogging
pThrowable
- the exception to be logged. Will be logged after the message.pBundle
- The resoure bundle.pKey
- the resource key in the bundle to use as a format string.pArgs
- the format arguments needed by the key's format string.public void vlogInfo(java.util.ResourceBundle pBundle, java.lang.String pKey, java.lang.Object... pArgs)
vlogInfo
in interface VariableArgumentApplicationLogging
pBundle
- The resoure bundle.pKey
- the resource key in the bundle to use as a format string.pArgs
- the format arguments needed by the key's format string.public void vlogInfo(java.lang.Throwable pThrowable, java.lang.String pFormat, java.lang.Object... pArgs)
vlogInfo
in interface VariableArgumentApplicationLogging
pThrowable
- the exception to be logged. Will be logged after the message.pFormat
- The format string to use. Uses MessageFormat to render.pArgs
- the format arguments needed by the key's format string.public void vlogInfo(java.lang.String pFormat, java.lang.Object... pArgs)
vlogInfo
in interface VariableArgumentApplicationLogging
pFormat
- The format string to use. Uses MessageFormat to render.pArgs
- the format arguments needed by the key's format string.public void vlogTrace(java.lang.Throwable pThrowable, java.util.ResourceBundle pBundle, java.lang.String pKey, java.lang.Object... pArgs)
vlogTrace
in interface VariableArgumentApplicationLogging
pThrowable
- the exception to be logged. Will be logged after the message.pBundle
- The resoure bundle.pKey
- the resource key in the bundle to use as a format string.pArgs
- the format arguments needed by the key's format string.public void vlogTrace(java.util.ResourceBundle pBundle, java.lang.String pKey, java.lang.Object... pArgs)
vlogTrace
in interface VariableArgumentApplicationLogging
pBundle
- The resoure bundle.pKey
- the resource key in the bundle to use as a format string.pArgs
- the format arguments needed by the key's format string.public void vlogTrace(java.lang.Throwable pThrowable, java.lang.String pFormat, java.lang.Object... pArgs)
vlogTrace
in interface VariableArgumentApplicationLogging
pThrowable
- the exception to be logged. Will be logged after the message.pFormat
- The format string to use. Uses MessageFormat to render.pArgs
- the format arguments needed by the key's format string.public void vlogTrace(java.lang.String pFormat, java.lang.Object... pArgs)
vlogTrace
in interface VariableArgumentApplicationLogging
pFormat
- The format string to use. Uses MessageFormat to render.pArgs
- the format arguments needed by the key's format string.public void vlogWarning(java.lang.Throwable pThrowable, java.util.ResourceBundle pBundle, java.lang.String pKey, java.lang.Object... pArgs)
vlogWarning
in interface VariableArgumentApplicationLogging
pThrowable
- the exception to be logged. Will be logged after the message.pBundle
- The resoure bundle.pKey
- the resource key in the bundle to use as a format string.pArgs
- the format arguments needed by the key's format string.public void vlogWarning(java.util.ResourceBundle pBundle, java.lang.String pKey, java.lang.Object... pArgs)
vlogWarning
in interface VariableArgumentApplicationLogging
pBundle
- The resoure bundle.pKey
- the resource key in the bundle to use as a format string.pArgs
- the format arguments needed by the key's format string.public void vlogWarning(java.lang.Throwable pThrowable, java.lang.String pFormat, java.lang.Object... pArgs)
vlogWarning
in interface VariableArgumentApplicationLogging
pThrowable
- the exception to be logged. Will be logged after the message.pFormat
- The format string to use. Uses MessageFormat to render.pArgs
- the format arguments needed by the key's format string.public void vlogWarning(java.lang.String pFormat, java.lang.Object... pArgs)
vlogWarning
in interface VariableArgumentApplicationLogging
pFormat
- The format string to use. Uses MessageFormat to render.pArgs
- the format arguments needed by the key's format string.public boolean isLoggingTrace()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |