[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 $_defaultLogName
The static class Zend_Log holds an array of Zend_Log instances in this variable that are created with registerLogger().
Variable $_fields
Variable $_instances
The static class Zend_Log holds an array of Zend_Log instances in this variable that are created with registerLogger().
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 $_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.
Method _getInstance
Returns the instance of Zend_Log in the Zend_Log::$_instances array.
Method __construct
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().
Variable $_accessMode
PHP access mode of the file, either 'a'ppend or over'w'rite
Variable $_buffer
Buffer, array of lines waiting to be written to the filesystem.
Variable $_bufferedLines
Number of lines in the buffer
Variable $_dbAdapter
Database adapter instance.
Variable $_filename
Filename on the filesystem where the log file is stored.
Variable $_fileResource
Holds the PHP resource for an open file, or null.
Variable $_lineEnding
Termination character(s) that are automatically appended to each line.
Variable $_options
Options to be set by setOption(). Sets the field names in the database table.
Variable $_options
Variable $_options
Options: buffer True: use buffering False: no buffering, write immediately
Variable $_tableName
Name of the log table in the database.
Method _parseLogLine
Format a line before sending into the storage.
Method _parseLogLine
Method _setAccessMode
Sets the access mode of the log file on the filesystem
Method __construct
Class Constructor
Method __construct
Class Constructor
Method __construct
Method __construct
Class constructor. Pass it a database adapter and the table name of the log table.
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
Variable LEVEL_ALL
Variable LEVEL_DEBUG
Variable LEVEL_ERROR
Variable LEVEL_INFO
Variable LEVEL_SEVERE
Variable 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
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
Sets an option specific to the implementation of the log adapter.
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
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 _