\FACTFinder\UtilLog4PhpLogger

Summary

Methods
Properties
Constants
configure()
getLogger()
trace()
debug()
info()
warn()
error()
fatal()
No public properties found
No constants found
__construct()
$log
N/A
No private methods found
No private properties found
N/A

Properties

$log

$log : 

Type

Methods

configure()

configure(string  $fileName) 

Configures the static Logger class supplied by log4php.

Parameters

string $fileName

Name of the configuration file

getLogger()

getLogger(string  $name) : \FACTFinder\Util\Log4PhpLogger

Returns a new logger with the given name.

Parameters

string $name

Name of the logger. This should be the fully qualified name of the class using this instance, so that different sub-namespaces can be configured differently. Note that in the configuration file, the loggers need to be qualified with periods instead of backslashes.

Returns

\FACTFinder\Util\Log4PhpLogger

trace()

trace(  $message) 

Parameters

$message

debug()

debug(  $message) 

Parameters

$message

info()

info(  $message) 

Parameters

$message

warn()

warn(  $message) 

Parameters

$message

error()

error(  $message) 

Parameters

$message

fatal()

fatal(  $message) 

Parameters

$message

__construct()

__construct(  $name) 

Parameters

$name