public class LogUtil extends Object
Modifier and Type | Method and Description |
---|---|
static void |
logThrow(Logger logger,
Level level,
Class sourceClass,
String sourceMethod,
String msg,
Object[] params,
Throwable e)
Convenience method used to log a throw operation when message parameters and a Throwable are
used.
|
public static void logThrow(Logger logger, Level level, Class sourceClass, String sourceMethod, String msg, Object[] params, Throwable e)
logger
- logger to log tolevel
- the log levelsourceClass
- class where throw occurredsourceMethod
- name of the method where throw occurredmsg
- log messageparams
- log message parameterse
- exception thrownCopyright © GigaSpaces.