Zend_LogLocated in /Zend/Log.php (line 44)
static boolean
log
(string $message, [integer $level = self::LEVEL_DEBUG], [mixed $logName_or_fields = null], [string $logName = null])
static array
$_levelNames
= array(This array contains the names of the log levels in order to support logging the names of the log message level instead of its numeric value.
Zend_Log_Adapter_Interface
$_adapter
= null (line 117)
Every instance of Zend_Log must contain a child object which is an implementation of Zend_Log_Adapter that provides the log storage.
array
$_fields
= array('message' => '',Array of available fields for logging
integer
$_levelMask
= self::LEVEL_ALL (line 108)
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.
string
$_logName
= '' (line 99)
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() ).
string
$_messagePrefix
= '' (line 125)
A string which is automatically prefixed to any message sent to the Zend_Log::log() method.
string
$_messageSuffix
= '' (line 133)
A string which is automatically appended to any message sent to the Zend_Log::log() method.
static close (line 442)
Destroy all Zend_Log instances in Zend_Log::$_instances. This is equivalent to calling unregister() for each log instance.
static getFields (line 331)
Returns an array of the log fields.
static getLoggerInfo (line 263)
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"]=> boolean, is this the default logger? } }
static hasLogger (line 240)
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.
static isLogLevel (line 543)
Tests if the supplied $level is one of the valid log levels (Zend_Log::LEVEL_* constants).
static log (line 351)
Sends a message to the log.
static registerLogger (line 194)
Instantiates a new instance of Zend_Log carrying the supplied Zend_Log_Adapter_Interface and stores it in the $_instances array.
static setAdapterOption (line 530)
Sets and adapter-specific option.
static setDefaultLogger (line 286)
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().
static setFields (line 306)
Sets the values for log fields. Omitted fields are set to default values.
static setLevel (line 491)
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.
static setMask (line 511)
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.
static setMessagePrefix (line 460)
Sets a message prefix. The prefix will be automatically prepended to any message that is sent to the specified log.
static setMessageSuffix (line 475)
Sets a message suffix. The suffix will be automatically appended to any message that is sent to the specified log.
static unregisterLogger (line 218)
Destroys an instance of Zend_Log in the $_instances array that was added by registerLogger()
Documentation generated on Tue, 11 Jul 2006 12:17:41 -0500 by phpDocumentor 1.3.0RC6