public class LocationInfo extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
String |
fullInfo |
static String |
NA
When location information is not available the constant
NA is returned. |
Constructor and Description |
---|
LocationInfo(StackTraceElement element) |
Modifier and Type | Method and Description |
---|---|
String |
getClassName()
Return the fully qualified class name of the caller making the
logging request.
|
String |
getFileName()
Return the file name of the caller.
|
String |
getLineNumber()
Returns the line number of the caller.
|
String |
getMethodName()
Returns the method name of the caller.
|
public static final String NA
NA
is returned. Current value of this string
constant is ?.public LocationInfo(StackTraceElement element)
public String getClassName()
public String getFileName()
public String getLineNumber()
public String getMethodName()
Copyright © 1999-1969 The Apache Software Foundation. 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.