|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.ci.comm.LogHelper
public final class LogHelper
Helper for logging.
Method Summary | |
---|---|
static void |
logDebug(Logger logger, LogLevel logLevel, String message) Log on debug level when appropriate. |
static void |
logDebug(Logger logger, LogLevel logLevel, String message, Throwable t) Log on debug level when appropriate. |
static void |
logError(Logger logger, LogLevel logLevel, String message) Log on errror level when appropriate. |
static void |
logError(Logger logger, LogLevel logLevel, String message, Throwable t) Log on error level when appropriate. |
static void |
logInfo(Logger logger, LogLevel logLevel, String message) Log on info level when appropriate. |
static void |
logInfo(Logger logger, LogLevel logLevel, String message, Throwable t) Log on info level when appropriate. |
static void |
logWarn(Logger logger, LogLevel logLevel, String message) Log on warn level when appropriate. |
static void |
logWarn(Logger logger, LogLevel logLevel, String message, Throwable t) Log on warn level when appropriate. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void logInfo(Logger logger, LogLevel logLevel, String message)
logger
- the logger to use for logging.
logLevel
- the level that is activated by the configuration.
message
- the message to log.
public static void logInfo(Logger logger, LogLevel logLevel, String message, Throwable t)
logger
- the logger to use for logging.
logLevel
- the level that is activated by the configuration.
message
- the message to log.
t
- the throwable that shall be logged with the message.
public static void logDebug(Logger logger, LogLevel logLevel, String message)
logger
- the logger to use for logging.
logLevel
- the level that is activated by the configuration.
message
- the message to log.
public static void logDebug(Logger logger, LogLevel logLevel, String message, Throwable t)
logger
- the logger to use for logging.
logLevel
- the level that is activated by the configuration.
message
- the message to log.
t
- the throwable that shall be logged with the message.
public static void logWarn(Logger logger, LogLevel logLevel, String message)
logger
- the logger to use for logging.
logLevel
- the level that is activated by the configuration.
message
- the message to log.
public static void logWarn(Logger logger, LogLevel logLevel, String message, Throwable t)
logger
- the logger to use for logging.
logLevel
- the level that is activated by the configuration.
message
- the message to log.
t
- the throwable that shall be logged with the message.
public static void logError(Logger logger, LogLevel logLevel, String message)
logger
- the logger to use for logging.
logLevel
- the level that is activated by the configuration.
message
- the message to log.
public static void logError(Logger logger, LogLevel logLevel, String message, Throwable t)
logger
- the logger to use for logging.
logLevel
- the level that is activated by the configuration.
message
- the message to log.
t
- the throwable that shall be logged with the message.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |