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 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.