Detailed Description
Definition at line 29 of file Log.php.
Constructor & Destructor Documentation
Class constructor. Create a new logger
- Parameters:
-
Definition at line 66 of file Log.php.
Class destructor. Shutdown log writers
- Returns:
- void
Definition at line 81 of file Log.php.
Member Function Documentation
__call |
( |
$ |
method, |
|
|
$ |
params |
|
) |
| |
Undefined method handler allows a shortcut: $log->priorityName('message') instead of $log->log('message', Zend_Log::PRIORITY_NAME)
- Parameters:
-
string | $method | priority name |
string | $params | message to log |
- Returns:
- void
- Exceptions:
-
- See also:
- Zend_Log_Exception
Definition at line 99 of file Log.php.
Add a filter that will be applied before all log writers. Before a message will be received by any of the writers, it must be accepted by all filters added with this method.
- Parameters:
-
- Returns:
- void
- See also:
- Zend_Log_Filter_Priority
-
Zend_Log_Exception
Definition at line 184 of file Log.php.
addPriority |
( |
$ |
name, |
|
|
$ |
priority |
|
) |
| |
Add a custom priority
- Parameters:
-
string | $name | Name of priority |
integer | $priority | Numeric priority |
- Exceptions:
-
Zend_Log_InvalidArgumentException | |
- See also:
- Zend_Log_Exception
Definition at line 161 of file Log.php.
Add a writer. A writer is responsible for taking a log message and writing it out to storage.
- Parameters:
-
- Returns:
- void
Definition at line 206 of file Log.php.
log |
( |
$ |
message, |
|
|
$ |
priority |
|
) |
| |
setEventItem |
( |
$ |
name, |
|
|
$ |
value |
|
) |
| |
Set an extra item to pass to the log writers.
- Parameters:
-
$name | Name of the field |
$value | Value of the field |
- Returns:
- void
Definition at line 218 of file Log.php.
The documentation for this class was generated from the following file:
- E:/E/GEAMP/www/openbiz/openbiz/others/Zend/Log.php