[Zend_Log] element index

Package indexes

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