Logger Class Reference
List of all members.
Detailed Description
Definition at line 23 of file log.php.
Member Function Documentation
| Logger::_log_msg |
( |
$ |
filename, |
|
|
$ |
facility, |
|
|
$ |
priority, |
|
|
$ |
message | |
|
) |
| | |
| Logger::_preg |
( |
$ |
re, |
|
|
$ |
str, |
|
|
&$ |
matches | |
|
) |
| | |
A simple frontend to preg_match. Allows a prefix of '!' which negates the regular expression.
Don't include the RE delimiters (eg, "/"), they will be added.
Definition at line 107 of file log.php.
Referenced by msg().
| Logger::add_routes |
( |
$ |
routes |
) |
|
Add multiple log routes.
Definition at line 64 of file log.php.
References $routes.
Empty routing table.
Definition at line 72 of file log.php.
| Logger::Logger |
( |
$ |
routes = null |
) |
|
| Logger::msg |
( |
$ |
facility, |
|
|
$ |
priority, |
|
|
$ |
message | |
|
) |
| | |
Log a message to the specific facility and priority. A log message can match more than one route.
Definition at line 82 of file log.php.
References _log_msg(), and _preg().
Member Data Documentation
The documentation for this class was generated from the following file: