|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mazz.i18n.commons.CommonsLogMsg
public class CommonsLogMsg
This class provides alot of static methods to assist in logging localized messages via a commons logging log object.
There is a method to the madness in the parameter ordering. Anytime you want to specify a localized message,
you always specify the base bundle name first, followed by the locale, the bundle key and the variable list of
arguments that go with the keyed message (all in that order). Bundle name and locale are both optional. This is
consistent with the way localized messages are specified in constructors for LocalizedException
and
LocalizedRuntimeException
. When you need to specify a Throwable
with your localized
message, it is specified before those parameters. Again, this is consistent both in this class and the localized
exception classes (see fatal(Log, Throwable, Msg.BundleBaseName, Locale, String, Object[])
and LocalizedException.LocalizedException(Throwable, Msg.BundleBaseName, Locale, String, Object[])
as
examples).
These static utility methods respect the settings defined by Logger.setDumpStackTraces(boolean)
and
Logger.setDumpLogKeys(boolean)
.
Msg
,
LocalizedException
,
LocalizedRuntimeException
Method Summary | |
---|---|
static Msg |
debug(org.apache.commons.logging.Log log,
java.util.Locale locale,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the debug level. |
static Msg |
debug(org.apache.commons.logging.Log log,
Msg.BundleBaseName basename,
java.util.Locale locale,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the debug level. |
static Msg |
debug(org.apache.commons.logging.Log log,
Msg.BundleBaseName basename,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the debug level. |
static Msg |
debug(org.apache.commons.logging.Log log,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the debug level. |
static Msg |
debug(org.apache.commons.logging.Log log,
java.lang.Throwable throwable,
java.util.Locale locale,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the debug level. |
static Msg |
debug(org.apache.commons.logging.Log log,
java.lang.Throwable throwable,
Msg.BundleBaseName basename,
java.util.Locale locale,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the debug level. |
static Msg |
debug(org.apache.commons.logging.Log log,
java.lang.Throwable throwable,
Msg.BundleBaseName basename,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the debug level. |
static Msg |
debug(org.apache.commons.logging.Log log,
java.lang.Throwable throwable,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the debug level. |
static Msg |
error(org.apache.commons.logging.Log log,
java.util.Locale locale,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the error level. |
static Msg |
error(org.apache.commons.logging.Log log,
Msg.BundleBaseName basename,
java.util.Locale locale,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the error level. |
static Msg |
error(org.apache.commons.logging.Log log,
Msg.BundleBaseName basename,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the error level. |
static Msg |
error(org.apache.commons.logging.Log log,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the error level. |
static Msg |
error(org.apache.commons.logging.Log log,
java.lang.Throwable throwable,
java.util.Locale locale,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the error level. |
static Msg |
error(org.apache.commons.logging.Log log,
java.lang.Throwable throwable,
Msg.BundleBaseName basename,
java.util.Locale locale,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the error level. |
static Msg |
error(org.apache.commons.logging.Log log,
java.lang.Throwable throwable,
Msg.BundleBaseName basename,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the error level. |
static Msg |
error(org.apache.commons.logging.Log log,
java.lang.Throwable throwable,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the error level. |
static Msg |
fatal(org.apache.commons.logging.Log log,
java.util.Locale locale,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the fatal level. |
static Msg |
fatal(org.apache.commons.logging.Log log,
Msg.BundleBaseName basename,
java.util.Locale locale,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the fatal level. |
static Msg |
fatal(org.apache.commons.logging.Log log,
Msg.BundleBaseName basename,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the fatal level. |
static Msg |
fatal(org.apache.commons.logging.Log log,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the fatal level. |
static Msg |
fatal(org.apache.commons.logging.Log log,
java.lang.Throwable throwable,
java.util.Locale locale,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the fatal level. |
static Msg |
fatal(org.apache.commons.logging.Log log,
java.lang.Throwable throwable,
Msg.BundleBaseName basename,
java.util.Locale locale,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the fatal level. |
static Msg |
fatal(org.apache.commons.logging.Log log,
java.lang.Throwable throwable,
Msg.BundleBaseName basename,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the fatal level. |
static Msg |
fatal(org.apache.commons.logging.Log log,
java.lang.Throwable throwable,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the fatal level. |
static Msg |
info(org.apache.commons.logging.Log log,
java.util.Locale locale,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the info level. |
static Msg |
info(org.apache.commons.logging.Log log,
Msg.BundleBaseName basename,
java.util.Locale locale,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the info level. |
static Msg |
info(org.apache.commons.logging.Log log,
Msg.BundleBaseName basename,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the info level. |
static Msg |
info(org.apache.commons.logging.Log log,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the info level. |
static Msg |
info(org.apache.commons.logging.Log log,
java.lang.Throwable throwable,
java.util.Locale locale,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the info level. |
static Msg |
info(org.apache.commons.logging.Log log,
java.lang.Throwable throwable,
Msg.BundleBaseName basename,
java.util.Locale locale,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the info level. |
static Msg |
info(org.apache.commons.logging.Log log,
java.lang.Throwable throwable,
Msg.BundleBaseName basename,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the info level. |
static Msg |
info(org.apache.commons.logging.Log log,
java.lang.Throwable throwable,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the info level. |
static Msg |
trace(org.apache.commons.logging.Log log,
java.util.Locale locale,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the trace level. |
static Msg |
trace(org.apache.commons.logging.Log log,
Msg.BundleBaseName basename,
java.util.Locale locale,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the trace level. |
static Msg |
trace(org.apache.commons.logging.Log log,
Msg.BundleBaseName basename,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the trace level. |
static Msg |
trace(org.apache.commons.logging.Log log,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the trace level. |
static Msg |
trace(org.apache.commons.logging.Log log,
java.lang.Throwable throwable,
java.util.Locale locale,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the trace level. |
static Msg |
trace(org.apache.commons.logging.Log log,
java.lang.Throwable throwable,
Msg.BundleBaseName basename,
java.util.Locale locale,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the trace level. |
static Msg |
trace(org.apache.commons.logging.Log log,
java.lang.Throwable throwable,
Msg.BundleBaseName basename,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the trace level. |
static Msg |
trace(org.apache.commons.logging.Log log,
java.lang.Throwable throwable,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the trace level. |
static Msg |
warn(org.apache.commons.logging.Log log,
java.util.Locale locale,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the warn level. |
static Msg |
warn(org.apache.commons.logging.Log log,
Msg.BundleBaseName basename,
java.util.Locale locale,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the warn level. |
static Msg |
warn(org.apache.commons.logging.Log log,
Msg.BundleBaseName basename,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the warn level. |
static Msg |
warn(org.apache.commons.logging.Log log,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the warn level. |
static Msg |
warn(org.apache.commons.logging.Log log,
java.lang.Throwable throwable,
java.util.Locale locale,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the warn level. |
static Msg |
warn(org.apache.commons.logging.Log log,
java.lang.Throwable throwable,
Msg.BundleBaseName basename,
java.util.Locale locale,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the warn level. |
static Msg |
warn(org.apache.commons.logging.Log log,
java.lang.Throwable throwable,
Msg.BundleBaseName basename,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the warn level. |
static Msg |
warn(org.apache.commons.logging.Log log,
java.lang.Throwable throwable,
java.lang.String key,
java.lang.Object... varargs)
Logs the given message to the log at the warn level. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Msg fatal(org.apache.commons.logging.Log log, Msg.BundleBaseName basename, java.util.Locale locale, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
log
- the log where the messages will gobasename
- the base name of the resource bundlelocale
- the locale to determine what bundle to usekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedMsg.createMsg(mazz.i18n.Msg.BundleBaseName, Locale, String, Object[])
public static Msg fatal(org.apache.commons.logging.Log log, java.lang.Throwable throwable, Msg.BundleBaseName basename, java.util.Locale locale, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
The given Throwable will be passed to the logger so its stack can be dumped when appropriate.
log
- the log where the messages will gothrowable
- the throwable associated with the log messagebasename
- the base name of the resource bundlelocale
- the locale to determine what bundle to usekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedMsg.createMsg(mazz.i18n.Msg.BundleBaseName, Locale, String, Object[])
public static Msg fatal(org.apache.commons.logging.Log log, java.util.Locale locale, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
log
- the log where the messages will golocale
- the locale to determine what bundle to usekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg fatal(org.apache.commons.logging.Log log, java.lang.Throwable throwable, java.util.Locale locale, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
The given Throwable will be passed to the logger so its stack can be dumped when appropriate.
log
- the log where the messages will gothrowable
- the throwable associated with the log messagelocale
- the locale to determine what bundle to usekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg fatal(org.apache.commons.logging.Log log, Msg.BundleBaseName basename, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
log
- the log where the messages will gobasename
- the base name of the resource bundlekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg fatal(org.apache.commons.logging.Log log, java.lang.Throwable throwable, Msg.BundleBaseName basename, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
The given Throwable will be passed to the logger so its stack can be dumped when appropriate.
log
- the log where the messages will gothrowable
- the throwable associated with the log messagebasename
- the base name of the resource bundlekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg fatal(org.apache.commons.logging.Log log, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
log
- the log where the messages will gokey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg fatal(org.apache.commons.logging.Log log, java.lang.Throwable throwable, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
The given Throwable will be passed to the logger so its stack can be dumped when appropriate.
log
- the log where the messages will gothrowable
- the throwable associated with the log messagekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg error(org.apache.commons.logging.Log log, Msg.BundleBaseName basename, java.util.Locale locale, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
log
- the log where the messages will gobasename
- the base name of the resource bundlelocale
- the locale to determine what bundle to usekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg error(org.apache.commons.logging.Log log, java.lang.Throwable throwable, Msg.BundleBaseName basename, java.util.Locale locale, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
The given Throwable will be passed to the logger so its stack can be dumped when appropriate.
log
- the log where the messages will gothrowable
- the throwable associated with the log messagebasename
- the base name of the resource bundlelocale
- the locale to determine what bundle to usekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg error(org.apache.commons.logging.Log log, java.util.Locale locale, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
log
- the log where the messages will golocale
- the locale to determine what bundle to usekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg error(org.apache.commons.logging.Log log, java.lang.Throwable throwable, java.util.Locale locale, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
The given Throwable will be passed to the logger so its stack can be dumped when appropriate.
log
- the log where the messages will gothrowable
- the throwable associated with the log messagelocale
- the locale to determine what bundle to usekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg error(org.apache.commons.logging.Log log, Msg.BundleBaseName basename, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
log
- the log where the messages will gobasename
- the base name of the resource bundlekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg error(org.apache.commons.logging.Log log, java.lang.Throwable throwable, Msg.BundleBaseName basename, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
The given Throwable will be passed to the logger so its stack can be dumped when appropriate.
log
- the log where the messages will gothrowable
- the throwable associated with the log messagebasename
- the base name of the resource bundlekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg error(org.apache.commons.logging.Log log, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
log
- the log where the messages will gokey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg error(org.apache.commons.logging.Log log, java.lang.Throwable throwable, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
The given Throwable will be passed to the logger so its stack can be dumped when appropriate.
log
- the log where the messages will gothrowable
- the throwable associated with the log messagekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg warn(org.apache.commons.logging.Log log, Msg.BundleBaseName basename, java.util.Locale locale, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
log
- the log where the messages will gobasename
- the base name of the resource bundlelocale
- the locale to determine what bundle to usekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg warn(org.apache.commons.logging.Log log, java.lang.Throwable throwable, Msg.BundleBaseName basename, java.util.Locale locale, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
The given Throwable will be passed to the logger so its stack can be dumped when appropriate.
log
- the log where the messages will gothrowable
- the throwable associated with the log messagebasename
- the base name of the resource bundlelocale
- the locale to determine what bundle to usekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg warn(org.apache.commons.logging.Log log, java.util.Locale locale, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
log
- the log where the messages will golocale
- the locale to determine what bundle to usekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg warn(org.apache.commons.logging.Log log, java.lang.Throwable throwable, java.util.Locale locale, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
The given Throwable will be passed to the logger so its stack can be dumped when appropriate.
log
- the log where the messages will gothrowable
- the throwable associated with the log messagelocale
- the locale to determine what bundle to usekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg warn(org.apache.commons.logging.Log log, Msg.BundleBaseName basename, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
log
- the log where the messages will gobasename
- the base name of the resource bundlekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg warn(org.apache.commons.logging.Log log, java.lang.Throwable throwable, Msg.BundleBaseName basename, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
The given Throwable will be passed to the logger so its stack can be dumped when appropriate.
log
- the log where the messages will gothrowable
- the throwable associated with the log messagebasename
- the base name of the resource bundlekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg warn(org.apache.commons.logging.Log log, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
log
- the log where the messages will gokey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg warn(org.apache.commons.logging.Log log, java.lang.Throwable throwable, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
The given Throwable will be passed to the logger so its stack can be dumped when appropriate.
log
- the log where the messages will gothrowable
- the throwable associated with the log messagekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg info(org.apache.commons.logging.Log log, Msg.BundleBaseName basename, java.util.Locale locale, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
log
- the log where the messages will gobasename
- the base name of the resource bundlelocale
- the locale to determine what bundle to usekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg info(org.apache.commons.logging.Log log, java.lang.Throwable throwable, Msg.BundleBaseName basename, java.util.Locale locale, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
The given Throwable will be passed to the logger so its stack can be dumped when appropriate.
log
- the log where the messages will gothrowable
- the throwable associated with the log messagebasename
- the base name of the resource bundlelocale
- the locale to determine what bundle to usekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg info(org.apache.commons.logging.Log log, java.util.Locale locale, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
log
- the log where the messages will golocale
- the locale to determine what bundle to usekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg info(org.apache.commons.logging.Log log, java.lang.Throwable throwable, java.util.Locale locale, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
The given Throwable will be passed to the logger so its stack can be dumped when appropriate.
log
- the log where the messages will gothrowable
- the throwable associated with the log messagelocale
- the locale to determine what bundle to usekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg info(org.apache.commons.logging.Log log, Msg.BundleBaseName basename, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
log
- the log where the messages will gobasename
- the base name of the resource bundlekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg info(org.apache.commons.logging.Log log, java.lang.Throwable throwable, Msg.BundleBaseName basename, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
The given Throwable will be passed to the logger so its stack can be dumped when appropriate.
log
- the log where the messages will gothrowable
- the throwable associated with the log messagebasename
- the base name of the resource bundlekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg info(org.apache.commons.logging.Log log, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
log
- the log where the messages will gokey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg info(org.apache.commons.logging.Log log, java.lang.Throwable throwable, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
The given Throwable will be passed to the logger so its stack can be dumped when appropriate.
log
- the log where the messages will gothrowable
- the throwable associated with the log messagekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg debug(org.apache.commons.logging.Log log, Msg.BundleBaseName basename, java.util.Locale locale, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
log
- the log where the messages will gobasename
- the base name of the resource bundlelocale
- the locale to determine what bundle to usekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg debug(org.apache.commons.logging.Log log, java.lang.Throwable throwable, Msg.BundleBaseName basename, java.util.Locale locale, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
The given Throwable will be passed to the logger so its stack can be dumped when appropriate.
log
- the log where the messages will gothrowable
- the throwable associated with the log messagebasename
- the base name of the resource bundlelocale
- the locale to determine what bundle to usekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg debug(org.apache.commons.logging.Log log, java.util.Locale locale, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
log
- the log where the messages will golocale
- the locale to determine what bundle to usekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg debug(org.apache.commons.logging.Log log, java.lang.Throwable throwable, java.util.Locale locale, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
The given Throwable will be passed to the logger so its stack can be dumped when appropriate.
log
- the log where the messages will gothrowable
- the throwable associated with the log messagelocale
- the locale to determine what bundle to usekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg debug(org.apache.commons.logging.Log log, Msg.BundleBaseName basename, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
log
- the log where the messages will gobasename
- the base name of the resource bundlekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg debug(org.apache.commons.logging.Log log, java.lang.Throwable throwable, Msg.BundleBaseName basename, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
The given Throwable will be passed to the logger so its stack can be dumped when appropriate.
log
- the log where the messages will gothrowable
- the throwable associated with the log messagebasename
- the base name of the resource bundlekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg debug(org.apache.commons.logging.Log log, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
log
- the log where the messages will gokey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg debug(org.apache.commons.logging.Log log, java.lang.Throwable throwable, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
The given Throwable will be passed to the logger so its stack can be dumped when appropriate.
log
- the log where the messages will gothrowable
- the throwable associated with the log messagekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg trace(org.apache.commons.logging.Log log, Msg.BundleBaseName basename, java.util.Locale locale, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
log
- the log where the messages will gobasename
- the base name of the resource bundlelocale
- the locale to determine what bundle to usekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg trace(org.apache.commons.logging.Log log, java.lang.Throwable throwable, Msg.BundleBaseName basename, java.util.Locale locale, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
The given Throwable will be passed to the logger so its stack can be dumped when appropriate.
log
- the log where the messages will gothrowable
- the throwable associated with the log messagebasename
- the base name of the resource bundlelocale
- the locale to determine what bundle to usekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg trace(org.apache.commons.logging.Log log, java.util.Locale locale, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
log
- the log where the messages will golocale
- the locale to determine what bundle to usekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg trace(org.apache.commons.logging.Log log, java.lang.Throwable throwable, java.util.Locale locale, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
The given Throwable will be passed to the logger so its stack can be dumped when appropriate.
log
- the log where the messages will gothrowable
- the throwable associated with the log messagelocale
- the locale to determine what bundle to usekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg trace(org.apache.commons.logging.Log log, Msg.BundleBaseName basename, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
log
- the log where the messages will gobasename
- the base name of the resource bundlekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg trace(org.apache.commons.logging.Log log, java.lang.Throwable throwable, Msg.BundleBaseName basename, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
The given Throwable will be passed to the logger so its stack can be dumped when appropriate.
log
- the log where the messages will gothrowable
- the throwable associated with the log messagebasename
- the base name of the resource bundlekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg trace(org.apache.commons.logging.Log log, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
log
- the log where the messages will gokey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returnedpublic static Msg trace(org.apache.commons.logging.Log log, java.lang.Throwable throwable, java.lang.String key, java.lang.Object... varargs)
null
. If a message was logged, its Msg
will be returned.
The given Throwable will be passed to the logger so its stack can be dumped when appropriate.
log
- the log where the messages will gothrowable
- the throwable associated with the log messagekey
- the resource bundle key namevarargs
- arguments to help fill in the resource bundle message
null
Msg object is returned
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |