Zend_LogLocated in /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.
array
$_defaultLogName
= 'LOG' (line 65)
The static class Zend_Log holds an array of Zend_Log instances in this variable that are created with registerLogger().
mixed
$_fields
= array('message' => '',
array
$_instances
= array() (line 57)
The static class Zend_Log holds an array of Zend_Log instances in this variable that are created with registerLogger().
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 397)
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 486)
Tests if the supplied $level is one of the valid log levels (Zend_Log::LEVEL_* constants).
Constructor __construct (line 130)
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().
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 473)
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 439)
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 456)
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 413)
Sets a message prefix. The prefix will be automatically prepended to any message that is sent to the specified log.
setMessageSuffix (line 426)
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()
_getInstance (line 144)
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