Package org.ops4j.pax.logging.spi
Interface PaxLocationInfo
-
public interface PaxLocationInfoFramework library agnostic representation of location info that identifies the place in code where logging event was created.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetClassName()Return the fully qualified class name of the caller making the logging request.StringgetFileName()Return the file name of the caller.StringgetLineNumber()Returns the line number of the caller.StringgetMethodName()Returns the method name of the caller.
-
-
-
Method Detail
-
getFileName
String getFileName()
Return the file name of the caller. This information is not always available.- Returns:
- the file name of the caller.
-
getClassName
String getClassName()
Return the fully qualified class name of the caller making the logging request.- Returns:
- the fully qualified class name of the caller making the logging request.
-
getLineNumber
String getLineNumber()
Returns the line number of the caller. This information is not always available.- Returns:
- the line number of the caller.
-
getMethodName
String getMethodName()
Returns the method name of the caller.- Returns:
- the method name of the caller.
-
-