__construct()
getFilename()
getThreshold()
log()
setThreshold()
$filename
$logger
$threshold
ALERT
CRIT
DEBUG
EMERG
ERR
FILE_STDOUT
INFO
NOTICE
QUIET
WARN
Logger used to capture any messages via any stream.
| category | phpDocumentor |
|---|---|
| package | Core |
| author | Mike van Riel |
| license | MIT |
| link | http://phpdoc.org |
__construct(string $file)
stringMay also be the FILE_STDOUT constant to output to STDOUT.
getFilename() : null | string
nullstring
getThreshold() : int
intlog(mixed $data, int | string $level) : void
mixedThe data to log.
intstringThe level of the message to log.
setThreshold(int $threshold) : void
intThe min level that will be logged.
$filename : string
$threshold : int
ALERT : string
CRIT : string
DEBUG : string
EMERG : string
ERR : string
FILE_STDOUT : string
INFO : string
NOTICE : string
QUIET : string
WARN : string