Overview

Packages

  • log4php
    • appenders
    • configurators
    • filters
    • helpers
    • layouts
    • pattern
    • renderers

Classes

  • Logger
  • LoggerAppender
  • LoggerAppenderPool
  • LoggerAutoloader
  • LoggerConfigurable
  • LoggerConfiguratorDefault
  • LoggerFilter
  • LoggerHierarchy
  • LoggerLayout
  • LoggerLevel
  • LoggerLocationInfo
  • LoggerLoggingEvent
  • LoggerMDC
  • LoggerNDC
  • LoggerReflectionUtils
  • LoggerRoot
  • LoggerThrowableInformation

Interfaces

  • LoggerConfigurator

Exceptions

  • LoggerException
  • Overview
  • Package
  • Class
  • Tree

Class LoggerLocationInfo

The internal representation of caller location information.

Package: log4php
Version: $Revision: 1379738 $
Since: 0.3
Located at LoggerLocationInfo.php
Methods summary
public
# __construct( array $trace, mixed $fqcn = null )

Instantiate location information based on a PHP_MANUAL#debug_backtrace.

Instantiate location information based on a PHP_MANUAL#debug_backtrace.

Parameters

$trace
array
$trace
$fqcn
mixed
$caller
public
# getClassName( )

Returns the caller class name.

Returns the caller class name.

public
# getFileName( )

Returns the caller file name.

Returns the caller file name.

public
# getLineNumber( )

Returns the caller line number.

Returns the caller line number.

public
# getMethodName( )

Returns the caller method name.

Returns the caller method name.

public
# getFullInfo( )

Returns the full information of the caller.

Returns the full information of the caller.

Constants summary
string LOCATION_INFO_NA 'NA'
#

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

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

Properties summary
protected integer $lineNumber
#

Caller line number.

Caller line number.

protected string $fileName
#

Caller file name.

Caller file name.

protected string $className
#

Caller class name.

Caller class name.

protected string $methodName
#

Caller method name.

Caller method name.

protected string $fullInfo
#

All the information combined.

All the information combined.

Apache log4php API documentation generated by ApiGen 2.8.0