public abstract class VariableArgumentApplicationLoggingImpl extends java.lang.Object implements VariableArgumentApplicationLogging
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
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
Constructor and Description |
---|
VariableArgumentApplicationLoggingImpl() |
Modifier and Type | Method and Description |
---|---|
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 |
vlogDebugTrace(java.lang.String pFormat,
java.lang.Object... pArgs)
Log a formatted trace message if debug and trace logging are both enabled.
|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingWarning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logWarning, logWarning, logWarning, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingWarning
public VariableArgumentApplicationLoggingImpl()
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 vlogDebugTrace(java.lang.String pFormat, java.lang.Object... pArgs)
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()