public final class LogUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getCaller(Class<?> clazz)
Returns the caller of the class passed as an argument.
|
static String |
getCaller(Class<?> me,
int nframes)
Returns the caller stack of the class passed as an argument.
|
public static String getCaller(Class<?> clazz)
clazz
- The current classpublic static String getCaller(Class<?> me, int nframes)
nframes
- Number of stack frames to log.me
- The current classCopyright © 2008–2016. All rights reserved.