public final class StackLocatorUtil extends Object
Modifier and Type | Method | Description |
---|---|---|
static StackTraceElement |
calcLocation(String fqcnOfLogger) |
|
static Class<?> |
getCallerClass(int depth) |
|
static Class<?> |
getCallerClass(Class<?> anchor) |
|
static Class<?> |
getCallerClass(String fqcn) |
|
static Class<?> |
getCallerClass(String fqcn,
String pkg) |
|
static Stack<Class<?>> |
getCurrentStackTrace() |
|
static StackTraceElement |
getStackTraceElement(int depth) |
public static Class<?> getCallerClass(int depth)
public static StackTraceElement getStackTraceElement(int depth)
public static StackTraceElement calcLocation(String fqcnOfLogger)
Copyright © 1999-2018. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.