| java.lang.Object com.sun.rave.web.ui.util.LogUtil
LogUtil | public class LogUtil (Code) | | This class provides helper methods for logging messages. It uses
standard J2SE logging. However, using these API's is abstracts this
away from our code in case we want to go back to Apache commons
logging or some other logging API in the future.
The logging levels follow the J2SE log level names, they are as
follows:
- FINEST -- Highly detailed tracing message
- FINER -- Fairly detailed tracing message
- FINE -- Coarse tracing message
- CONFIG -- Static configuration messages
- INFO -- Informational messages (logged by default)
- WARNING -- Potentially problematic messages
- SEVERE -- Serious failure messages
author: Ken Paulsen (ken.paulsen@sun.com) |
Method Summary | |
public static void | config(String msgId, Object param) Logging method supporting a localized message key and a single
substitution parameter. | public static void | config(String msgId, Object params) Logging method supporting a localized message key and zero or more
substitution parameters. | public static void | config(Object loggerId, String msgId, Object param) Logging method supporting a localized message key, a single
substitution parameter, and the ability to specify the Logger.
Parameters: loggerId - The logger to use. | public static void | config(Object loggerId, String msgId, Object params) Logging method supporting a localized message key, zero or more
substitution parameters, and the ability to specify the Logger.
Parameters: loggerId - The logger to use. | public static void | config(String msg) Logging method to log a simple localized or non-localized message. | public static void | config(Object loggerId, String msg) Logging method to log a simple localized or non-localized message.
This method will first attempt to find msg in the
properties file, if not found it will print the given msg. | public static void | config(String msg, Throwable ex) | public static void | config(Object loggerId, String msg, Throwable ex) Logging method to log a Throwable with a
message. | public static boolean | configEnabled() | public static boolean | configEnabled(Object loggerId) Method to check if this log level is enabled for the given
logger.
Parameters: loggerId - The logger to check. | public static void | fine(String msgId, Object param) Logging method supporting a localized message key and a single
substitution parameter. | public static void | fine(String msgId, Object params) Logging method supporting a localized message key and zero or more
substitution parameters. | public static void | fine(Object loggerId, String msgId, Object param) Logging method supporting a localized message key, a single
substitution parameter, and the ability to specify the Logger.
Parameters: loggerId - The logger to use. | public static void | fine(Object loggerId, String msgId, Object params) Logging method supporting a localized message key, zero or more
substitution parameters, and the ability to specify the Logger.
Parameters: loggerId - The logger to use. | public static void | fine(String msg) Logging method to log a simple localized or non-localized message. | public static void | fine(Object loggerId, String msg) Logging method to log a simple localized or non-localized message.
This method will first attempt to find msg in the
properties file, if not found it will print the given msg. | public static void | fine(String msg, Throwable ex) | public static void | fine(Object loggerId, String msg, Throwable ex) Logging method to log a Throwable with a
message. | public static boolean | fineEnabled() | public static boolean | fineEnabled(Object loggerId) Method to check if this log level is enabled for the given
logger.
Parameters: loggerId - The logger to check. | public static void | finer(String msgId, Object param) Logging method supporting a localized message key and a single
substitution parameter. | public static void | finer(String msgId, Object params) Logging method supporting a localized message key and zero or more
substitution parameters. | public static void | finer(Object loggerId, String msgId, Object param) Logging method supporting a localized message key, a single
substitution parameter, and the ability to specify the Logger.
Parameters: loggerId - The logger to use. | public static void | finer(Object loggerId, String msgId, Object params) Logging method supporting a localized message key, zero or more
substitution parameters, and the ability to specify the Logger.
Parameters: loggerId - The logger to use. | public static void | finer(String msg) Logging method to log a simple localized or non-localized message. | public static void | finer(Object loggerId, String msg) Logging method to log a simple localized or non-localized message.
This method will first attempt to find msg in the
properties file, if not found it will print the given msg. | public static void | finer(String msg, Throwable ex) | public static void | finer(Object loggerId, String msg, Throwable ex) Logging method to log a Throwable with a
message. | public static boolean | finerEnabled() | public static boolean | finerEnabled(Object loggerId) Method to check if this log level is enabled for the given
logger.
Parameters: loggerId - The logger to check. | public static void | finest(String msgId, Object param) Logging method supporting a localized message key and a single
substitution parameter. | public static void | finest(String msgId, Object params) Logging method supporting a localized message key and zero or more
substitution parameters. | public static void | finest(Object loggerId, String msgId, Object param) Logging method supporting a localized message key, a single
substitution parameter, and the ability to specify the Logger.
Parameters: loggerId - The logger to use. | public static void | finest(Object loggerId, String msgId, Object params) Logging method supporting a localized message key, zero or more
substitution parameters, and the ability to specify the Logger.
Parameters: loggerId - The logger to use. | public static void | finest(String msg) Logging method to log a simple localized or non-localized message. | public static void | finest(Object loggerId, String msg) Logging method to log a simple localized or non-localized message.
This method will first attempt to find msg in the
properties file, if not found it will print the given msg. | public static void | finest(String msg, Throwable ex) | public static void | finest(Object loggerId, String msg, Throwable ex) Logging method to log a Throwable with a
message. | public static boolean | finestEnabled() | public static boolean | finestEnabled(Object loggerId) Method to check if this log level is enabled for the given
logger.
Parameters: loggerId - The logger to check. | public static void | info(String msgId) Logging method to log a simple localized message. | public static void | info(Object loggerId, String msgId) Logging method to log a simple localized message. | public static void | info(String msgId, Object param) Logging method supporting a localized message key and a single
substitution parameter. | public static void | info(String msgId, Object params) Logging method supporting a localized message key and zero or more
substitution parameters. | public static void | info(Object loggerId, String msgId, Object param) Logging method supporting a localized message key, a single
substitution parameter, and the ability to specify the Logger.
Parameters: loggerId - The logger to use. | public static void | info(Object loggerId, String msgId, Object params) Logging method supporting a localized message key, zero or more
substitution parameters, and the ability to specify the Logger.
Parameters: loggerId - The logger to use. | public static void | info(String msgId, Throwable ex) | public static void | info(Object loggerId, String msgId, Throwable ex) Logging method to log a Throwable with a localized
message. | public static boolean | infoEnabled() | public static boolean | infoEnabled(Object loggerId) Method to check if this log level is enabled for the given
logger.
Parameters: loggerId - The logger to check. | public static void | severe(String msgId) Logging method to log a simple localized message. | public static void | severe(Object loggerId, String msgId) Logging method to log a simple localized message. | public static void | severe(String msgId, Object param) Logging method supporting a localized message key and a single
substitution parameter. | public static void | severe(String msgId, Object params) Logging method supporting a localized message key and zero or more
substitution parameters. | public static void | severe(Object loggerId, String msgId, Object param) Logging method supporting a localized message key, a single
substitution parameter, and the ability to specify the Logger.
Parameters: loggerId - The logger to use. | public static void | severe(Object loggerId, String msgId, Object params) Logging method supporting a localized message key, zero or more
substitution parameters, and the ability to specify the Logger.
Parameters: loggerId - The logger to use. | public static void | severe(String msgId, Throwable ex) | public static void | severe(Object loggerId, String msgId, Throwable ex) Logging method to log a Throwable with a localized
message. | public static boolean | severeEnabled() | public static boolean | severeEnabled(Object loggerId) Method to check if this log level is enabled for the given
logger.
Parameters: loggerId - The logger to check. | public static void | warning(String msgId) Logging method to log a simple localized message. | public static void | warning(Object loggerId, String msgId) Logging method to log a simple localized message. | public static void | warning(String msgId, Object param) Logging method supporting a localized message key and a single
substitution parameter. | public static void | warning(String msgId, Object params) Logging method supporting a localized message key and zero or more
substitution parameters. | public static void | warning(Object loggerId, String msgId, Object param) Logging method supporting a localized message key, a single
substitution parameter, and the ability to specify the Logger.
Parameters: loggerId - The logger to use. | public static void | warning(Object loggerId, String msgId, Object params) Logging method supporting a localized message key, zero or more
substitution parameters, and the ability to specify the Logger.
Parameters: loggerId - The logger to use. | public static void | warning(String msgId, Throwable ex) | public static void | warning(Object loggerId, String msgId, Throwable ex) Logging method to log a Throwable with a localized
message. | public static boolean | warningEnabled() | public static boolean | warningEnabled(Object loggerId) Method to check if this log level is enabled for the given
logger.
Parameters: loggerId - The logger to check. |
BUNDLE_NAME | final public static String BUNDLE_NAME(Code) | | This is the bundle name for the ResourceBundle that
contains all the message strings.
|
DEFAULT_LOGGER_NAME | final public static String DEFAULT_LOGGER_NAME(Code) | | This is the default logger name.
|
DEFAULT_LOG_KEY | final public static String DEFAULT_LOG_KEY(Code) | | This is the default log key.
|
KEY_NOT_FOUND_KEY | final public static String KEY_NOT_FOUND_KEY(Code) | | This key is used when the requested key is not found to inform the
developer they forgot to add a key.
|
config | public static void config(String msgId, Object param)(Code) | | Logging method supporting a localized message key and a single
substitution parameter. It will use the default Logger.
Parameters: msgId - The ResourceBundle key used to lookupthe message. Parameters: param - Value to substitute into the message. See Also: LogUtil.BUNDLE_NAME |
config | public static void config(String msgId, Object params)(Code) | | Logging method supporting a localized message key and zero or more
substitution parameters. It will use the default Logger.
Parameters: msgId - The ResourceBundle key used to lookupthe message. Parameters: params - Value(s) to substitute into the message. See Also: LogUtil.BUNDLE_NAME |
config | public static void config(Object loggerId, String msgId, Object param)(Code) | | Logging method supporting a localized message key, a single
substitution parameter, and the ability to specify the Logger.
Parameters: loggerId - The logger to use. This may be specified as aString or Class Object. Parameters: msgId - The ResourceBundle key used to lookupthe message. Parameters: param - Value to substitute into the message. See Also: LogUtil.BUNDLE_NAME |
config | public static void config(Object loggerId, String msgId, Object params)(Code) | | Logging method supporting a localized message key, zero or more
substitution parameters, and the ability to specify the Logger.
Parameters: loggerId - The logger to use. This may be specified as aString or Class Object. Parameters: msgId - The ResourceBundle key used to lookupthe message. Parameters: params - Value(s) to substitute into the message. See Also: LogUtil.BUNDLE_NAME |
config | public static void config(String msg)(Code) | | Logging method to log a simple localized or non-localized message.
This method will first attempt to find msg in the
properties file, if not found it will print the given msg.
Parameters: msg - The message (or ResourceBundle key). |
config | public static void config(Object loggerId, String msg)(Code) | | Logging method to log a simple localized or non-localized message.
This method will first attempt to find msg in the
properties file, if not found it will print the given msg. The
specified Logger will be used.
Parameters: loggerId - The logger to use. This may be specified as aString or Class Object. Parameters: msg - The message (or ResourceBundle key). |
config | public static void config(String msg, Throwable ex)(Code) | | Logging method to log a Throwable with a
message.
Parameters: msg - The message. Parameters: ex - The Throwable to log. |
config | public static void config(Object loggerId, String msg, Throwable ex)(Code) | | Logging method to log a Throwable with a
message. The specified Logger will be used.
Parameters: loggerId - The logger to use. This may be specified as aString or Class Object. Parameters: msg - The message. Parameters: ex - The Throwable to log. |
configEnabled | public static boolean configEnabled()(Code) | | Method to check if this log level is enabled for the default
logger.
true if the log level is enabled, false otherwise. |
configEnabled | public static boolean configEnabled(Object loggerId)(Code) | | Method to check if this log level is enabled for the given
logger.
Parameters: loggerId - The logger to check. This may be specified as aString or Class Object. true if the log level is enabled, false otherwise. |
fine | public static void fine(String msgId, Object param)(Code) | | Logging method supporting a localized message key and a single
substitution parameter. It will use the default Logger.
Parameters: msgId - The ResourceBundle key used to lookupthe message. Parameters: param - Value to substitute into the message. See Also: LogUtil.BUNDLE_NAME |
fine | public static void fine(String msgId, Object params)(Code) | | Logging method supporting a localized message key and zero or more
substitution parameters. It will use the default Logger.
Parameters: msgId - The ResourceBundle key used to lookupthe message. Parameters: params - Value(s) to substitute into the message. See Also: LogUtil.BUNDLE_NAME |
fine | public static void fine(Object loggerId, String msgId, Object param)(Code) | | Logging method supporting a localized message key, a single
substitution parameter, and the ability to specify the Logger.
Parameters: loggerId - The logger to use. This may be specified as aString or Class Object. Parameters: msgId - The ResourceBundle key used to lookupthe message. Parameters: param - Value to substitute into the message. See Also: LogUtil.BUNDLE_NAME |
fine | public static void fine(Object loggerId, String msgId, Object params)(Code) | | Logging method supporting a localized message key, zero or more
substitution parameters, and the ability to specify the Logger.
Parameters: loggerId - The logger to use. This may be specified as aString or Class Object. Parameters: msgId - The ResourceBundle key used to lookupthe message. Parameters: params - Value(s) to substitute into the message. See Also: LogUtil.BUNDLE_NAME |
fine | public static void fine(String msg)(Code) | | Logging method to log a simple localized or non-localized message.
This method will first attempt to find msg in the
properties file, if not found it will print the given msg.
Parameters: msg - The message (or ResourceBundle key). |
fine | public static void fine(Object loggerId, String msg)(Code) | | Logging method to log a simple localized or non-localized message.
This method will first attempt to find msg in the
properties file, if not found it will print the given msg. The
specified Logger will be used.
Parameters: loggerId - The logger to use. This may be specified as aString or Class Object. Parameters: msg - The message (or ResourceBundle key). |
fine | public static void fine(String msg, Throwable ex)(Code) | | Logging method to log a Throwable with a message.
Parameters: msg - The message. Parameters: ex - The Throwable to log. |
fine | public static void fine(Object loggerId, String msg, Throwable ex)(Code) | | Logging method to log a Throwable with a
message. The specified Logger will be used.
Parameters: loggerId - The logger to use. This may be specified as aString or Class Object. Parameters: msg - The message. Parameters: ex - The Throwable to log. |
fineEnabled | public static boolean fineEnabled()(Code) | | Method to check if this log level is enabled for the default
logger.
true if the log level is enabled, false otherwise. |
fineEnabled | public static boolean fineEnabled(Object loggerId)(Code) | | Method to check if this log level is enabled for the given
logger.
Parameters: loggerId - The logger to check. This may be specified as aString or Class Object. true if the log level is enabled, false otherwise. |
finer | public static void finer(String msgId, Object param)(Code) | | Logging method supporting a localized message key and a single
substitution parameter. It will use the default Logger.
Parameters: msgId - The ResourceBundle key used to lookupthe message. Parameters: param - Value to substitute into the message. See Also: LogUtil.BUNDLE_NAME |
finer | public static void finer(String msgId, Object params)(Code) | | Logging method supporting a localized message key and zero or more
substitution parameters. It will use the default Logger.
Parameters: msgId - The ResourceBundle key used to lookupthe message. Parameters: params - Value(s) to substitute into the message. See Also: LogUtil.BUNDLE_NAME |
finer | public static void finer(Object loggerId, String msgId, Object param)(Code) | | Logging method supporting a localized message key, a single
substitution parameter, and the ability to specify the Logger.
Parameters: loggerId - The logger to use. This may be specified as aString or Class Object. Parameters: msgId - The ResourceBundle key used to lookupthe message. Parameters: param - Value to substitute into the message. See Also: LogUtil.BUNDLE_NAME |
finer | public static void finer(Object loggerId, String msgId, Object params)(Code) | | Logging method supporting a localized message key, zero or more
substitution parameters, and the ability to specify the Logger.
Parameters: loggerId - The logger to use. This may be specified as aString or Class Object. Parameters: msgId - The ResourceBundle key used to lookupthe message. Parameters: params - Value(s) to substitute into the message. See Also: LogUtil.BUNDLE_NAME |
finer | public static void finer(String msg)(Code) | | Logging method to log a simple localized or non-localized message.
This method will first attempt to find msg in the
properties file, if not found it will print the given msg.
Parameters: msg - The message (or ResourceBundle key). |
finer | public static void finer(Object loggerId, String msg)(Code) | | Logging method to log a simple localized or non-localized message.
This method will first attempt to find msg in the
properties file, if not found it will print the given msg. The
specified Logger will be used.
Parameters: loggerId - The logger to use. This may be specified as aString or Class Object. Parameters: msg - The message (or ResourceBundle key). |
finer | public static void finer(String msg, Throwable ex)(Code) | | Logging method to log a Throwable with a
message.
Parameters: msg - The message. Parameters: ex - The Throwable to log. |
finer | public static void finer(Object loggerId, String msg, Throwable ex)(Code) | | Logging method to log a Throwable with a
message. The specified Logger will be used.
Parameters: loggerId - The logger to use. This may be specified as aString or Class Object. Parameters: msg - The message. Parameters: ex - The Throwable to log. |
finerEnabled | public static boolean finerEnabled()(Code) | | Method to check if this log level is enabled for the default
logger.
true if the log level is enabled, false otherwise. |
finerEnabled | public static boolean finerEnabled(Object loggerId)(Code) | | Method to check if this log level is enabled for the given
logger.
Parameters: loggerId - The logger to check. This may be specified as aString or Class Object. true if the log level is enabled, false otherwise. |
finest | public static void finest(String msgId, Object param)(Code) | | Logging method supporting a localized message key and a single
substitution parameter. It will use the default Logger.
Parameters: msgId - The ResourceBundle key used to lookupthe message. Parameters: param - Value to substitute into the message. See Also: LogUtil.BUNDLE_NAME |
finest | public static void finest(String msgId, Object params)(Code) | | Logging method supporting a localized message key and zero or more
substitution parameters. It will use the default Logger.
Parameters: msgId - The ResourceBundle key used to lookupthe message. Parameters: params - Value(s) to substitute into the message. See Also: LogUtil.BUNDLE_NAME |
finest | public static void finest(Object loggerId, String msgId, Object param)(Code) | | Logging method supporting a localized message key, a single
substitution parameter, and the ability to specify the Logger.
Parameters: loggerId - The logger to use. This may be specified as aString or Class Object. Parameters: msgId - The ResourceBundle key used to lookupthe message. Parameters: param - Value to substitute into the message. See Also: LogUtil.BUNDLE_NAME |
finest | public static void finest(Object loggerId, String msgId, Object params)(Code) | | Logging method supporting a localized message key, zero or more
substitution parameters, and the ability to specify the Logger.
Parameters: loggerId - The logger to use. This may be specified as aString or Class Object. Parameters: msgId - The ResourceBundle key used to lookupthe message. Parameters: params - Value(s) to substitute into the message. See Also: LogUtil.BUNDLE_NAME |
finest | public static void finest(String msg)(Code) | | Logging method to log a simple localized or non-localized message.
This method will first attempt to find msg in the
properties file, if not found it will print the given msg.
Parameters: msg - The message (or ResourceBundle key). |
finest | public static void finest(Object loggerId, String msg)(Code) | | Logging method to log a simple localized or non-localized message.
This method will first attempt to find msg in the
properties file, if not found it will print the given msg. The
specified Logger will be used.
Parameters: loggerId - The logger to use. This may be specified as aString or Class Object. Parameters: msg - The message (or ResourceBundle key). |
finest | public static void finest(String msg, Throwable ex)(Code) | | Logging method to log a Throwable with a
message.
Parameters: msg - The message. Parameters: ex - The Throwable to log. |
finest | public static void finest(Object loggerId, String msg, Throwable ex)(Code) | | Logging method to log a Throwable with a
message. The specified Logger will be used.
Parameters: loggerId - The logger to use. This may be specified as aString or Class Object. Parameters: msg - The message. Parameters: ex - The Throwable to log. |
finestEnabled | public static boolean finestEnabled()(Code) | | Method to check if this log level is enabled for the default
logger.
true if the log level is enabled, false otherwise. |
finestEnabled | public static boolean finestEnabled(Object loggerId)(Code) | | Method to check if this log level is enabled for the given
logger.
Parameters: loggerId - The logger to check. This may be specified as aString or Class Object. true if the log level is enabled, false otherwise. |
info | public static void info(String msgId)(Code) | | Logging method to log a simple localized message. The default
Logger will be used.
Parameters: msgId - The ResourceBundle key used to lookupthe message. See Also: LogUtil.BUNDLE_NAME |
info | public static void info(Object loggerId, String msgId)(Code) | | Logging method to log a simple localized message. The
specified Logger will be used.
Parameters: loggerId - The logger to use. This may be specified as aString or Class Object. Parameters: msgId - The ResourceBundle key used to lookupthe message. See Also: LogUtil.BUNDLE_NAME |
info | public static void info(String msgId, Object param)(Code) | | Logging method supporting a localized message key and a single
substitution parameter. It will use the default Logger.
Parameters: msgId - The ResourceBundle key used to lookupthe message. Parameters: param - Value to substitute into the message. See Also: LogUtil.BUNDLE_NAME |
info | public static void info(String msgId, Object params)(Code) | | Logging method supporting a localized message key and zero or more
substitution parameters. It will use the default Logger.
Parameters: msgId - The ResourceBundle key used to lookupthe message. Parameters: params - Value(s) to substitute into the message. See Also: LogUtil.BUNDLE_NAME |
info | public static void info(Object loggerId, String msgId, Object param)(Code) | | Logging method supporting a localized message key, a single
substitution parameter, and the ability to specify the Logger.
Parameters: loggerId - The logger to use. This may be specified as aString or Class Object. Parameters: msgId - The ResourceBundle key used to lookupthe message. Parameters: param - Value to substitute into the message. See Also: LogUtil.BUNDLE_NAME |
info | public static void info(Object loggerId, String msgId, Object params)(Code) | | Logging method supporting a localized message key, zero or more
substitution parameters, and the ability to specify the Logger.
Parameters: loggerId - The logger to use. This may be specified as aString or Class Object. Parameters: msgId - The ResourceBundle key used to lookupthe message. Parameters: params - Value(s) to substitute into the message. See Also: LogUtil.BUNDLE_NAME |
info | public static void info(String msgId, Throwable ex)(Code) | | Logging method to log a Throwable with a localized
message.
Parameters: msgId - The ResourceBundle key used to lookupthe message. Parameters: ex - The Throwable to log. See Also: LogUtil.BUNDLE_NAME |
info | public static void info(Object loggerId, String msgId, Throwable ex)(Code) | | Logging method to log a Throwable with a localized
message. The specified Logger will be used.
Parameters: loggerId - The logger to use. This may be specified as aString or Class Object. Parameters: msgId - The ResourceBundle key used to lookupthe message. Parameters: ex - The Throwable to log. See Also: LogUtil.BUNDLE_NAME |
infoEnabled | public static boolean infoEnabled()(Code) | | Method to check if this log level is enabled for the default
logger.
true if the log level is enabled, false otherwise. |
infoEnabled | public static boolean infoEnabled(Object loggerId)(Code) | | Method to check if this log level is enabled for the given
logger.
Parameters: loggerId - The logger to check. This may be specified as aString or Class Object. true if the log level is enabled, false otherwise. |
severe | public static void severe(String msgId)(Code) | | Logging method to log a simple localized message. The default
Logger will be used.
Parameters: msgId - The ResourceBundle key used to lookupthe message. See Also: LogUtil.BUNDLE_NAME |
severe | public static void severe(Object loggerId, String msgId)(Code) | | Logging method to log a simple localized message. The
specified Logger will be used.
Parameters: loggerId - The logger to use. This may be specified as aString or Class Object. Parameters: msgId - The ResourceBundle key used to lookupthe message. See Also: LogUtil.BUNDLE_NAME |
severe | public static void severe(String msgId, Object param)(Code) | | Logging method supporting a localized message key and a single
substitution parameter. It will use the default Logger.
Parameters: msgId - The ResourceBundle key used to lookupthe message. Parameters: param - Value to substitute into the message. See Also: LogUtil.BUNDLE_NAME |
severe | public static void severe(String msgId, Object params)(Code) | | Logging method supporting a localized message key and zero or more
substitution parameters. It will use the default Logger.
Parameters: msgId - The ResourceBundle key used to lookupthe message. Parameters: params - Value(s) to substitute into the message. See Also: LogUtil.BUNDLE_NAME |
severe | public static void severe(Object loggerId, String msgId, Object param)(Code) | | Logging method supporting a localized message key, a single
substitution parameter, and the ability to specify the Logger.
Parameters: loggerId - The logger to use. This may be specified as aString or Class Object. Parameters: msgId - The ResourceBundle key used to lookupthe message. Parameters: param - Value to substitute into the message. See Also: LogUtil.BUNDLE_NAME |
severe | public static void severe(Object loggerId, String msgId, Object params)(Code) | | Logging method supporting a localized message key, zero or more
substitution parameters, and the ability to specify the Logger.
Parameters: loggerId - The logger to use. This may be specified as aString or Class Object. Parameters: msgId - The ResourceBundle key used to lookupthe message. Parameters: params - Value(s) to substitute into the message. See Also: LogUtil.BUNDLE_NAME |
severe | public static void severe(String msgId, Throwable ex)(Code) | | Logging method to log a Throwable with a localized
message.
Parameters: msgId - The ResourceBundle key used to lookupthe message. Parameters: ex - The Throwable to log. See Also: LogUtil.BUNDLE_NAME |
severe | public static void severe(Object loggerId, String msgId, Throwable ex)(Code) | | Logging method to log a Throwable with a localized
message. The specified Logger will be used.
Parameters: loggerId - The logger to use. This may be specified as aString or Class Object. Parameters: msgId - The ResourceBundle key used to lookupthe message. Parameters: ex - The Throwable to log. See Also: LogUtil.BUNDLE_NAME |
severeEnabled | public static boolean severeEnabled()(Code) | | Method to check if this log level is enabled for the default
logger.
true if the log level is enabled, false otherwise. |
severeEnabled | public static boolean severeEnabled(Object loggerId)(Code) | | Method to check if this log level is enabled for the given
logger.
Parameters: loggerId - The logger to check. This may be specified as aString or Class Object. true if the log level is enabled, false otherwise. |
warning | public static void warning(String msgId)(Code) | | Logging method to log a simple localized message. The default
Logger will be used.
Parameters: msgId - The ResourceBundle key used to lookupthe message. See Also: LogUtil.BUNDLE_NAME |
warning | public static void warning(Object loggerId, String msgId)(Code) | | Logging method to log a simple localized message. The
specified Logger will be used.
Parameters: loggerId - The logger to use. This may be specified as aString or Class Object. Parameters: msgId - The ResourceBundle key used to lookupthe message. See Also: LogUtil.BUNDLE_NAME |
warning | public static void warning(String msgId, Object param)(Code) | | Logging method supporting a localized message key and a single
substitution parameter. It will use the default Logger.
Parameters: msgId - The ResourceBundle key used to lookupthe message. Parameters: param - Value to substitute into the message. See Also: LogUtil.BUNDLE_NAME |
warning | public static void warning(String msgId, Object params)(Code) | | Logging method supporting a localized message key and zero or more
substitution parameters. It will use the default Logger.
Parameters: msgId - The ResourceBundle key used to lookupthe message. Parameters: params - Value(s) to substitute into the message. See Also: LogUtil.BUNDLE_NAME |
warning | public static void warning(Object loggerId, String msgId, Object param)(Code) | | Logging method supporting a localized message key, a single
substitution parameter, and the ability to specify the Logger.
Parameters: loggerId - The logger to use. This may be specified as aString or Class Object. Parameters: msgId - The ResourceBundle key used to lookupthe message. Parameters: param - Value to substitute into the message. See Also: LogUtil.BUNDLE_NAME |
warning | public static void warning(Object loggerId, String msgId, Object params)(Code) | | Logging method supporting a localized message key, zero or more
substitution parameters, and the ability to specify the Logger.
Parameters: loggerId - The logger to use. This may be specified as aString or Class Object. Parameters: msgId - The ResourceBundle key used to lookupthe message. Parameters: params - Value(s) to substitute into the message. See Also: LogUtil.BUNDLE_NAME |
warning | public static void warning(String msgId, Throwable ex)(Code) | | Logging method to log a Throwable with a localized
message.
Parameters: msgId - The ResourceBundle key used to lookupthe message. Parameters: ex - The Throwable to log. See Also: LogUtil.BUNDLE_NAME |
warning | public static void warning(Object loggerId, String msgId, Throwable ex)(Code) | | Logging method to log a Throwable with a localized
message. The specified Logger will be used.
Parameters: loggerId - The logger to use. This may be specified as aString or Class Object. Parameters: msgId - The ResourceBundle key used to lookupthe message. Parameters: ex - The Throwable to log. See Also: LogUtil.BUNDLE_NAME |
warningEnabled | public static boolean warningEnabled()(Code) | | Method to check if this log level is enabled for the default
logger.
true if the log level is enabled, false otherwise. |
warningEnabled | public static boolean warningEnabled(Object loggerId)(Code) | | Method to check if this log level is enabled for the given
logger.
Parameters: loggerId - The logger to check. This may be specified as aString or Class Object. true if the log level is enabled, false otherwise. |
|
|