## Class LoggerLocationInfo

Description

The internal representation of caller location information.

- version: $Revision: 1379738 $
- since: 0.3

Located in /log4php/LoggerLocationInfo.php (line 28)

Class Constant Summary
LOCATION_INFO_NA = 'NA'
Variable Summary
string $className
string $fileName
string $fullInfo
integer $lineNumber
string $methodName
Method Summary
LoggerLocationInfo __construct (array $trace, [ $fqcn = null], mixed $caller)
void getClassName ()
void getFileName ()
void getFullInfo ()
void getLineNumber ()
void getMethodName ()
Variables
string $className (line 49)

Caller class name.

- access: protected

string $fileName (line 43)

Caller file name.

- access: protected

string $fullInfo (line 61)

All the information combined.

- access: protected

integer $lineNumber (line 37)

Caller line number.

- access: protected

string $methodName (line 55)

Caller method name.

- access: protected

Methods
Constructor __construct (line 69)

Instantiate location information based on a http://www.php.net/debug_backtrace.

- access: public

LoggerLocationInfo __construct (array $trace, [ $fqcn = null], mixed $caller)

- array $trace
- mixed $caller
- $fqcn

getClassName (line 79)

Returns the caller class name.

- access: public

void getClassName ()
getFileName (line 84)

Returns the caller file name.

- access: public

void getFileName ()
getFullInfo (line 99)

Returns the full information of the caller.

- access: public

void getFullInfo ()
getLineNumber (line 89)

Returns the caller line number.

- access: public

void getLineNumber ()
getMethodName (line 94)

Returns the caller method name.

- access: public

void getMethodName ()
Class Constants
LOCATION_INFO_NA = 'NA' (line 31)

The value to return when the location information is not available.

Documentation generated on Mon, 02 Feb 2026 13:59:51 +0900 by phpDocumentor 1.4.4