[Zend_Log] element index

Package indexes

All elements
c d e f g h i l n o r s u w z _
_
top
Variable $_adapter
Every instance of Zend_Log must contain a child object which is an implementation of Zend_Log_Adapter that provides the log storage.
Variable $_fields
Array of available fields for logging
Variable $_levelMask
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.
Variable $_levelNames
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.
Variable $_logName
When this class is instantiated by registerLogger, it is
Variable $_messagePrefix
A string which is automatically prefixed to any message sent to the Zend_Log::log() method.
Variable $_messageSuffix
A string which is automatically appended to any message sent to the Zend_Log::log() method.
Variable $_dbAdapter
Database adapter instance.
Variable $_options
Variable $_options
Options to be set by setOption(). Sets the field names in the database table.
Variable $_tableName
Name of the log table in the database.
Method _parseLogLine
Method _parseLogLine
Format a line before sending into the storage.
Method _setAccessMode
Sets the access mode of the log file on the filesystem
Method __construct
Class Constructor
Method __construct
Class constructor. Pass it a database adapter and the table name of the log table.
Method __construct
Method __construct
Class Constructor
Method __destruct
Class Destructor
Method __destruct
Class Destructor
c
top
Method close
Destroy all Zend_Log instances in Zend_Log::$_instances. This is equivalent to calling unregister() for each log instance.
Method close
Close the log storage opened by the log adapter. If the adapter supports buffering, all log data must be sent to the log before the storage is closed.
Method close
Closes the file resource for the logfile. Calling this function does not write any buffered data into the log, so flush() must be called before close().
Method close
Closes the file resource for the logfile. Calling this function does not write any buffered data into the log, so flush() must be called before close().
Method close
Does nothing.
Method close
Page Console.php
Console.php in Console.php
d
top
Page Db.php
Db.php in Db.php
e
top
Class Constant LEVEL_ALL
Mask that includes all log levels
Class Constant LEVEL_DEBUG
Log levels
Class Constant LEVEL_ERROR
Class Constant LEVEL_INFO
Class Constant LEVEL_SEVERE
Class Constant LEVEL_WARNING
Page Exception.php
Exception.php in Exception.php
Page Exception.php
Exception.php in Exception.php
f
top
Method flush
Write a message to the log. This function really just writes the message to the buffer.
Method flush
Write a message to the log. This function really just writes the message to the buffer.
Page File.php
File.php in File.php
g
top
Method getFields
Returns an array of the log fields.
Method getLoggerInfo
Returns information about the registered loggers.
h
top
Method hasLogger
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.
i
top
Method isLogLevel
Tests if the supplied $level is one of the valid log levels (Zend_Log::LEVEL_* constants).
Page Interface.php
Interface.php in Interface.php
l
top
Method log
Zend_Log::log() in Log.php
Sends a message to the log.
Page Log.php
Log.php in Log.php
Variable $logName
n
top
Page Null.php
Null.php in Null.php
o
top
Method open
Sets an option specific to the implementation of the log adapter.
Method open
Open the storage resource. If the adapter supports buffering, this may not actually open anything until it is time to flush the buffer.
Method open
Opens the logfile for writing.
Method open
Does nothing.
Method open
r
top
Method registerLogger
Instantiates a new instance of Zend_Log carrying the supplied Zend_Log_Adapter_Interface and stores it in the $_instances array.
s
top
Method setAdapterOption
Sets and adapter-specific option.
Method setDefaultLogger
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().
Method setFields
Sets the values for log fields. Omitted fields are set to default values.
Method setLevel
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.
Method setMask
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.
Method setMessagePrefix
Sets a message prefix. The prefix will be automatically prepended to any message that is sent to the specified log.
Method setMessageSuffix
Sets a message suffix. The suffix will be automatically appended to any message that is sent to the specified log.
Method setOption
Sets an option specific to the implementation of the log adapter.
Method setOption
Sets an option specific to the implementation of the log adapter.
Method setOption
Sets an option specific to the implementation of the log adapter.
Method setOption
Sets either 'fieldMessage' to change the field name where messages are logged, or 'fieldLevel' to change the field name where the log levels are logged.
Method setOption
u
top
Method unregisterLogger
Destroys an instance of Zend_Log in the $_instances array that was added by registerLogger()
w
top
Method wipe
Method write
Write a message to the log. This function really just writes the message to the buffer.
Method write
Write a message to the log. If the adapter supports buffering, the message may or may not actually go into storage until the buffer is flushed.
Method write
Writes an array of key/value pairs to the database, where the keys are the database field names and values are what to put in those fields.
Method write
Method write
Write a message to the log. This function really just writes the message to the buffer.
z
top
Class Zend_Log
Zend_Log in Log.php
Class Zend_Log_Adapter_Console
Class Zend_Log_Adapter_Db
Class Zend_Log_Adapter_Exception
Class Zend_Log_Adapter_File
Class Zend_Log_Adapter_Interface
Class Zend_Log_Adapter_Null
Class Zend_Log_Exception
Zend_Log_Exception in Exception.php
c d e f g h i l n o r s u w z _