Located in /Zend/Log.php (line 42)
Every instance of Zend_Log must contain a child object which is an implementation of Zend_Log_Adapter that provides the log storage.
The static class Zend_Log holds an array of Zend_Log instances in this variable that are created with registerLogger().
The static class Zend_Log holds an array of Zend_Log instances in this variable that are created with registerLogger().
Logging level mask, the bitwise OR of any of the Zend_Log::LEVEL_* constants that will be logged by this instance of Zend_Log. All other levels will be ignored.
When this class is instantiated by registerLogger, it is
pushed onto the $_instances associative array. The $_logName is the key to instance in this array, and also how the user will specify the instance when using the other static method calls (e.g. Zend_Log::log() ).
A string which is automatically prefixed to any message sent to the Zend_Log::log() method.
A string which is automatically appended to any message sent to the Zend_Log::log() method.
Destroy all Zend_Log instances in Zend_Log::$_instances. This is equivalent to calling unregister() for each log instance.
Returns information about the registered loggers.
array(2) { ["LOG"]=> array key is the logger name array(2) { ["adapter"]=> string, name of the Zend_Log_AdapterClass class ["default"]=> bool, is this the default logger? } }
Returns True if the specified logName is a registered logger. If no logName is supplied, the function returns True if at least one logger exists.
Tests if the supplied $level is one of the valid log levels (Zend_Log::LEVEL_* constants).
Class constructor. Zend_Log uses the singleton pattern. Only a single Zend_Log static class may be used, however instances of Zend_Log may be stored inside the Zend_Log static class by calling registerLogger().
Sends a message to the log.
Instantiates a new instance of Zend_Log carrying the supplied Zend_Log_Adapter_Interface and stores it in the $_instances array.
Sets and adapter-specific option.
Sets the default logger. If no logName is specified, then "LOG" is used. For any named logger other than "LOG", the logger must have been registered with registerLogger().
Sets the logging level of the log instance to one of the Zend_Log::LEVEL_* constants. Only messages with this log level will be logged by the instance, all others will be ignored.
Sets the logging level of the log instance based on a mask. The mask is the bitwise OR of any of the Zend_Log::LEVEL_* constants.
Sets a message prefix. The prefix will be automatically prepended to any message that is sent to the specified log.
Sets a message suffix. The suffix will be automatically appended to any message that is sent to the specified log.
Destroys an instance of Zend_Log in the $_instances array that was added by registerLogger()
Returns the instance of Zend_Log in the Zend_Log::$_instances array.
Documentation generated on Tue, 18 Apr 2006 11:55:17 -0700 by phpDocumentor 1.3.0RC3