public class LocationInfo
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private java.lang.StackTraceElement |
element |
java.lang.String |
fullInfo |
static java.lang.String |
NA
When location information is not available the constant
NA is returned. |
(package private) static long |
serialVersionUID |
Constructor and Description |
---|
LocationInfo(java.lang.StackTraceElement element) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClassName()
Return the fully qualified class name of the caller making the
logging request.
|
java.lang.String |
getFileName()
Return the file name of the caller.
|
java.lang.String |
getLineNumber()
Returns the line number of the caller.
|
java.lang.String |
getMethodName()
Returns the method name of the caller.
|
private final java.lang.StackTraceElement element
public java.lang.String fullInfo
public static final java.lang.String NA
NA
is returned. Current value of this string
constant is ?.static final long serialVersionUID
public java.lang.String getClassName()
public java.lang.String getFileName()
public java.lang.String getLineNumber()
public java.lang.String getMethodName()