| java.lang.Object org.objectweb.celtix.common.logging.LogUtils
LogUtils | final public class LogUtils (Code) | | A container for static utility methods related to logging.
|
Method Summary | |
public static Logger | getL7dLogger(Class cls) Get a Logger with an associated resource bundle. | public static void | log(Logger logger, Level level, String message, Throwable throwable, Object parameter) Allows both parameter substitution and a typed Throwable to be logged. | public static void | log(Logger logger, Level level, String message, Throwable throwable, Object... parameters) Allows both parameter substitution and a typed Throwable to be logged. | public static void | log(Logger logger, Level level, String message) | public static void | log(Logger logger, Level level, String message, Object[] parameters) |
getL7dLogger | public static Logger getL7dLogger(Class cls)(Code) | | Get a Logger with an associated resource bundle.
Parameters: cls - the Class to contain the Logger an appropriate Logger |
log | public static void log(Logger logger, Level level, String message, Throwable throwable, Object parameter)(Code) | | Allows both parameter substitution and a typed Throwable to be logged.
Parameters: logger - the Logger the log to Parameters: level - the severity level Parameters: message - the log message Parameters: throwable - the Throwable to log Parameters: parameter - the parameter to substitute into message |
log | public static void log(Logger logger, Level level, String message, Throwable throwable, Object... parameters)(Code) | | Allows both parameter substitution and a typed Throwable to be logged.
Parameters: logger - the Logger the log to Parameters: level - the severity level Parameters: message - the log message Parameters: throwable - the Throwable to log Parameters: parameters - the parameters to substitute into message |
log | public static void log(Logger logger, Level level, String message)(Code) | | Checks log level and logs
Parameters: logger - the Logger the log to Parameters: level - the severity level Parameters: message - the log message |
log | public static void log(Logger logger, Level level, String message, Object[] parameters)(Code) | | Checks log level and logs
Parameters: logger - the Logger the log to Parameters: level - the severity level Parameters: message - the log message Parameters: parameters - the parameters to substitute into message |
|
|