Zend_LogLocated in /library/Zend/Log.php (line 42)
boolean
log
(string $message, [integer $level = self::LEVEL_DEBUG], [mixed $logName_or_fields = null], [string $logName = null])
Zend_Log_Adapter_Interface
$_adapter
= null (line 94)
Every instance of Zend_Log must contain a child object which is an implementation of Zend_Log_Adapter that provides the log storage.
mixed
$_fields
= array('message' => '',
integer
$_levelMask
= self::LEVEL_ALL (line 85)
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 76)
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 102)
A string which is automatically prefixed to any message sent to the Zend_Log::log() method.
string
$_messageSuffix
= '' (line 110)
A string which is automatically appended to any message sent to the Zend_Log::log() method.
close (line 396)
Destroy all Zend_Log instances in Zend_Log::$_instances. This is equivalent to calling unregister() for each log instance.
getFields (line 288)
getLoggerInfo (line 233)
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? } }
hasLogger (line 210)
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.
isLogLevel (line 485)
Tests if the supplied $level is one of the valid log levels (Zend_Log::LEVEL_* constants).
log (line 307)
Sends a message to the log.
registerLogger (line 166)
Instantiates a new instance of Zend_Log carrying the supplied Zend_Log_Adapter_Interface and stores it in the $_instances array.
setAdapterOption (line 472)
Sets and adapter-specific option.
setDefaultLogger (line 256)
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().
setFields (line 269)
setLevel (line 438)
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.
setMask (line 455)
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.
setMessagePrefix (line 412)
Sets a message prefix. The prefix will be automatically prepended to any message that is sent to the specified log.
setMessageSuffix (line 425)
Sets a message suffix. The suffix will be automatically appended to any message that is sent to the specified log.
unregisterLogger (line 188)
Destroys an instance of Zend_Log in the $_instances array that was added by registerLogger()
Documentation generated on Wed, 08 Mar 2006 04:53:24 -0800 by phpDocumentor 1.3.0RC4