## [Zend_Log] element index

### Package indexes

- Zend
- Zend_Cache
- Zend_Config
- Zend_Controller
- Zend_Db
- Zend_Feed
- Zend_Filter
- Zend_Http
- Zend_Json
- Zend_Mail
- Zend_Mime
- Zend_Pdf
- Zend_Search
- Zend_Search_Lucene
- Zend_Service
- Zend_Uri
- Zend_View
- Zend_XmlRpc

All elements
_
top

$_adapter
  Zend_Log::$_adapter in Log.php
  Every instance of Zend_Log must contain a child object which is an implementation of Zend_Log_Adapter that provides the log storage.
$_fields
  Zend_Log::$_fields in Log.php
  Array of available fields for logging
$_levelMask
  Zend_Log::$_levelMask in Log.php
  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
  Zend_Log::$_levelNames in Log.php
  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
  Zend_Log::$_logName in Log.php
  When this class is instantiated by registerLogger, it is
$_messagePrefix
  Zend_Log::$_messagePrefix in Log.php
  A string which is automatically prefixed to any message sent to the Zend_Log::log() method.
$_messageSuffix
  Zend_Log::$_messageSuffix in Log.php
  A string which is automatically appended to any message sent to the Zend_Log::log() method.
$_dbAdapter
  Zend_Log_Adapter_Db::$_dbAdapter in Db.php
  Database adapter instance.
$_options
  Zend_Log_Adapter_Console::$_options in Console.php
$_options
  Zend_Log_Adapter_Db::$_options in Db.php
  Options to be set by setOption(). Sets the field names in the database table.
$_tableName
  Zend_Log_Adapter_Db::$_tableName in Db.php
  Name of the log table in the database.
_parseLogLine
  Zend_Log_Adapter_Console::_parseLogLine() in Console.php
_parseLogLine
  Zend_Log_Adapter_File::_parseLogLine() in File.php
  Format a line before sending into the storage.
_setAccessMode
  Zend_Log_Adapter_File::_setAccessMode() in File.php
  Sets the access mode of the log file on the filesystem
__construct
  Zend_Log_Adapter_Null::__construct() in Null.php
  Class Constructor
__construct
  Zend_Log_Adapter_Db::__construct() in Db.php
  Class constructor. Pass it a database adapter and the table name of the log table.
__construct
  Zend_Log_Adapter_Console::__construct() in Console.php
__construct
  Zend_Log_Adapter_File::__construct() in File.php
  Class Constructor
__destruct
  Zend_Log_Adapter_Null::__destruct() in Null.php
  Class Destructor
__destruct
  Zend_Log_Adapter_File::__destruct() in File.php
  Class Destructor

c
top

close
  Zend_Log::close() in Log.php
  Destroy all Zend_Log instances in Zend_Log::$_instances. This is equivalent to calling unregister() for each log instance.
close
  Zend_Log_Adapter_Interface::close() in Interface.php
  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
  Zend_Log_Adapter_Null::close() in Null.php
  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
  Zend_Log_Adapter_File::close() in File.php
  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
  Zend_Log_Adapter_Db::close() in Db.php
  Does nothing.
close
  Zend_Log_Adapter_Console::close() in Console.php
Console.php
  Console.php in Console.php

d
top

Db.php
  Db.php in Db.php

e
top

LEVEL_ALL
  Zend_Log::LEVEL_ALL in Log.php
  Mask that includes all log levels
LEVEL_DEBUG
  Zend_Log::LEVEL_DEBUG in Log.php
  Log levels
LEVEL_ERROR
  Zend_Log::LEVEL_ERROR in Log.php
LEVEL_INFO
  Zend_Log::LEVEL_INFO in Log.php
LEVEL_SEVERE
  Zend_Log::LEVEL_SEVERE in Log.php
LEVEL_WARNING
  Zend_Log::LEVEL_WARNING in Log.php
Exception.php
  Exception.php in Exception.php
Exception.php
  Exception.php in Exception.php

f
top

flush
  Zend_Log_Adapter_Null::flush() in Null.php
  Write a message to the log. This function really just writes the message to the buffer.
flush
  Zend_Log_Adapter_File::flush() in File.php
  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
  Zend_Log::getFields() in Log.php
  Returns an array of the log fields.
getLoggerInfo
  Zend_Log::getLoggerInfo() in Log.php
  Returns information about the registered loggers.

h
top

hasLogger
  Zend_Log::hasLogger() in Log.php
  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
  Zend_Log::isLogLevel() in Log.php
  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
  Zend_Log_Adapter_Console::$logName in Console.php

n
top

Null.php
  Null.php in Null.php

o
top

open
  Zend_Log_Adapter_Null::open() in Null.php
  Sets an option specific to the implementation of the log adapter.
open
  Zend_Log_Adapter_Interface::open() in Interface.php
  Open the storage resource. If the adapter supports buffering, this may not actually open anything until it is time to flush the buffer.
open
  Zend_Log_Adapter_File::open() in File.php
  Opens the logfile for writing.
open
  Zend_Log_Adapter_Db::open() in Db.php
  Does nothing.
open
  Zend_Log_Adapter_Console::open() in Console.php

r
top

registerLogger
  Zend_Log::registerLogger() in Log.php
  Instantiates a new instance of Zend_Log carrying the supplied Zend_Log_Adapter_Interface and stores it in the $_instances array.

s
top

setAdapterOption
  Zend_Log::setAdapterOption() in Log.php
  Sets and adapter-specific option.
setDefaultLogger
  Zend_Log::setDefaultLogger() in Log.php
  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
  Zend_Log::setFields() in Log.php
  Sets the values for log fields. Omitted fields are set to default values.
setLevel
  Zend_Log::setLevel() in Log.php
  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
  Zend_Log::setMask() in Log.php
  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
  Zend_Log::setMessagePrefix() in Log.php
  Sets a message prefix. The prefix will be automatically prepended to any message that is sent to the specified log.
setMessageSuffix
  Zend_Log::setMessageSuffix() in Log.php
  Sets a message suffix. The suffix will be automatically appended to any message that is sent to the specified log.
setOption
  Zend_Log_Adapter_Null::setOption() in Null.php
  Sets an option specific to the implementation of the log adapter.
setOption
  Zend_Log_Adapter_Interface::setOption() in Interface.php
  Sets an option specific to the implementation of the log adapter.
setOption
  Zend_Log_Adapter_File::setOption() in File.php
  Sets an option specific to the implementation of the log adapter.
setOption
  Zend_Log_Adapter_Db::setOption() in Db.php
  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
  Zend_Log_Adapter_Console::setOption() in Console.php

u
top

unregisterLogger
  Zend_Log::unregisterLogger() in Log.php
  Destroys an instance of Zend_Log in the $_instances array that was added by registerLogger()

w
top

wipe
  Zend_Log_Adapter_Console::wipe() in Console.php
write
  Zend_Log_Adapter_Null::write() in Null.php
  Write a message to the log. This function really just writes the message to the buffer.
write
  Zend_Log_Adapter_Interface::write() in Interface.php
  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
  Zend_Log_Adapter_Db::write() in Db.php
  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
  Zend_Log_Adapter_Console::write() in Console.php
write
  Zend_Log_Adapter_File::write() in File.php
  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_Console in Console.php
Zend_Log_Adapter_Db
  Zend_Log_Adapter_Db in Db.php
Zend_Log_Adapter_Exception
  Zend_Log_Adapter_Exception in Exception.php
Zend_Log_Adapter_File
  Zend_Log_Adapter_File in File.php
Zend_Log_Adapter_Interface
  Zend_Log_Adapter_Interface in Interface.php
Zend_Log_Adapter_Null
  Zend_Log_Adapter_Null in Null.php
Zend_Log_Exception
  Zend_Log_Exception in Exception.php