Path

ez components / documentation / api reference / 2009.1.2 / event


eZ Components 2009.1.2

EventLog

[ Tutorial ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Element index for package EventLog

[ a ] [ c ] [ d ] [ e ] [ f ] [ g ] [ i ] [ l ] [ m ] [ n ] [ o ] [ r ] [ s ] [ t ] [ u ] [ w ] [ _ ]

_

__construct : ezcLogFileWriter
in file writer_file.php, method ezcLogFileWriter::__construct()
    Constructs an ezcLogFileWriter.
__construct : ezcLogSyslogWriter
in file writer_syslog.php, method ezcLogSyslogWriter::__construct()
    Constructs a new syslog writer with the identity $ident, options $option and the facility $facility.
__construct : ezcLogWrongSeverityException
in file wrong_severity.php, method ezcLogWrongSeverityException::__construct()
    Constructs a new ezcLogWrongSeverityException for severity $severity
__construct : ezcLogFilterRule
in file filter_rule.php, method ezcLogFilterRule::__construct()
    Creates an ezcLogFilterRule.
__construct : ezcLogWriterException
in file writer_exception.php, method ezcLogWriterException::__construct()
    Constructs a new ezcLogWriterException with the original exception $e.
__construct : ezcLogFilter
in file log_filter.php, method ezcLogFilter::__construct()
    Empty constructor
__construct : ezcLogEntry
in file log_entry.php, method ezcLogEntry::__construct()
    Constructs a new ezcLogEntry.
__destruct : ezcLogFileWriter
in file writer_file.php, method ezcLogFileWriter::__destruct()
    Destructs the object and closes all open file handles.
__set_state : ezcLogEntry
in file log_entry.php, method ezcLogEntry::__set_state()
    Returns a new instance of this class with the data specified by $array.

a

appendRule : ezcLogFilterSet
in file filterset.php, method ezcLogFilterSet::appendRule()
    Appends a rule to the end of the filter set.
FAILED_AUDIT : ezcLog
in file log.php, class constant ezcLog::FAILED_AUDIT
    Failed audit severity constant.
FATAL : ezcLog
in file log.php, class constant ezcLog::FATAL
    Fatal severity constant.
WARNING : ezcLog
in file log.php, class constant ezcLog::WARNING
    Warning severity constant.

c

$category : ezcLogFilter
in file log_filter.php, variable ezcLogFilter::$category
    The category of the log message.
$category : ezcLogEntry
in file log_entry.php, variable ezcLogEntry::$category
    The category of the log message.
$context : ezcLog
in file log.php, variable ezcLog::$context
    Stores the attributes from the eventTypes and eventSources.
clearCache : ezcLogFilterSet
in file filterset.php, method ezcLogFilterSet::clearCache()
    Clears the cache.
createStructure : ezcLogFilterRule
in file filter_rule.php, method ezcLogFilterRule::createStructure()
    Creates an internal structure, to quickly lookup the combination of severity, source, and categories.

d

deleteLastRule : ezcLogFilterSet
in file filterset.php, method ezcLogFilterSet::deleteLastRule()
    Deletes the last rule from the filter set.

e

$entries : ezcLogStackWriter
in file writer_stack.php, variable ezcLogStackWriter::$entries
    Stores all entries received by this writer.
$exception : ezcLogWriterException
in file writer_exception.php, variable ezcLogWriterException::$exception
    The wrapped exception.
DEBUG : ezcLog
in file log.php, class constant ezcLog::DEBUG
    Debug severity constant.
ezcLog
in file log.php, class ezcLog
    The ezcLog class records log messages and audit trails to one or multiple writers.
ezcLogEntry
in file log_entry.php, class ezcLogEntry
    File containing the ezcLogEntry class.
ezcLogFileWriter
in file writer_file.php, class ezcLogFileWriter
    The ezcLogFileWriter class provides functionality to write log files to the file system.
ezcLogFilter
in file log_filter.php, class ezcLogFilter
    The ezcLogFilter class provides a structure to set a log filter.
ezcLogFilterRule
in file filter_rule.php, class ezcLogFilterRule
    The ezcLogFilterRule is a rule that is added to the ezcLogFilterSet.
ezcLogFilterSet
in file filterset.php, class ezcLogFilterSet
    Mapping of an eventType, eventSource and eventCategory to a mixed variable using a filter set.
ezcLogMapper
in file mapper.php, class ezcLogMapper
    The ezcLogMapper provides a public interface to implement a mapper.
ezcLogStackWriter
in file writer_stack.php, class ezcLogStackWriter
    The ezcLogStackWriter class stores all received log messages in memory.
ezcLogSyslogWriter
in file writer_syslog.php, class ezcLogSyslogWriter
    The ezcLogSyslogWriter class provides functionality to write log messages to the UNIX syslog.
ezcLogUnixFileWriter
in file writer_unix_file.php, class ezcLogUnixFileWriter
    Writes the log messages to a file in a format that is frequently used on the Unix operating system.
ezcLogWriter
in file writer.php, class ezcLogWriter
    ezcLogWriter defines the common interface for all classes that implement their log writer.
ezcLogWriterException
in file writer_exception.php, class ezcLogWriterException
    The ezcLogWriterException will be thrown when an ezcLogWriter or a subclass encounters an exceptional state.
ezcLogWrongSeverityException
in file wrong_severity.php, class ezcLogWrongSeverityException
    The ezcLogWrongSeverityException will be thrown when an ezcLogWrongSeverity or a subclass encounters an exceptional state.

f

$fileMap : ezcLogFileWriter
in file writer_file.php, variable ezcLogFileWriter::$fileMap
    Keeps track of which group of messages should be stored in what file.
filterset.php
procedural page filterset.php
filter_rule.php
procedural page filter_rule.php

g

get : ezcLogFilterSet
in file filterset.php, method ezcLogFilterSet::get()
    Returns the variable assigned to the combination of a severity $severity, source $source, and category $category.
get : ezcLogMapper
in file mapper.php, method ezcLogMapper::get()
    Returns the containers (results) that are mapped to this $severity, $source, and $category.
getContainer : ezcLogFilterRule
in file filter_rule.php, method ezcLogFilterRule::getContainer()
    Returns the container, containing the result.
getInstance : ezcLog
in file log.php, method ezcLog::getInstance()
    Returns the instance of the class.
getIterator : ezcLogStackWriter
in file writer_stack.php, method ezcLogStackWriter::getIterator()
    Implements IteratorAggreagate, returns iterator for all entries.
getMapper : ezcLog
in file log.php, method ezcLog::getMapper()
    Returns an instance of the current ezcLogMapper.
getMaskArray : ezcLogFilterRule
in file filter_rule.php, method ezcLogFilterRule::getMaskArray()
    Returns the bits set in $mask as separate values in an array.

i

implodeWithKey : ezcLogUnixFileWriter
in file writer_unix_file.php, method ezcLogUnixFileWriter::implodeWithKey()
    Returns a string from the hash $data.
implodeWithKey : ezcLogSyslogWriter
in file writer_syslog.php, method ezcLogSyslogWriter::implodeWithKey()
    Returns a string from the hash $data.
isMatch : ezcLogFilterRule
in file filter_rule.php, method ezcLogFilterRule::isMatch()
    Returns true when the given $severity, $source, and $category matches with this filter rule.

l

$logDirectory : ezcLogFileWriter
in file writer_file.php, variable ezcLogFileWriter::$logDirectory
    Directory where the log files should be placed.
log.php
procedural page log.php
log_entry.php
procedural page log_entry.php
log_filter.php
procedural page log_filter.php
log : ezcLog
in file log.php, method ezcLog::log()
    Write the message $message with additional information to one or multiple log writers.
logHandler : ezcLog
in file log.php, method ezcLog::logHandler()
    This method can be set as error_handler to log using http://www.php.net/trigger_error.

m

$maxFiles : ezcLogFileWriter
in file writer_file.php, variable ezcLogFileWriter::$maxFiles
    Maximum log rotation files with the same name.
$maxSize : ezcLogFileWriter
in file writer_file.php, variable ezcLogFileWriter::$maxSize
    Maximum file size before rotation, or false when log rotation is disabled.
$message : ezcLogEntry
in file log_entry.php, variable ezcLogEntry::$message
    The textual log message.
mapper.php
procedural page mapper.php

n

INFO : ezcLog
in file log.php, class constant ezcLog::INFO
    Info severity constant.

o

$openFiles : ezcLogFileWriter
in file writer_file.php, variable ezcLogFileWriter::$openFiles
    Contains all the open files. The first file in the array is always the default file.
$optional : ezcLogEntry
in file log_entry.php, variable ezcLogEntry::$optional
    Optional informations
NOTICE : ezcLog
in file log.php, class constant ezcLog::NOTICE
    Notice severity constant.
openFile : ezcLogFileWriter
in file writer_file.php, method ezcLogFileWriter::openFile()
    Returns the filehandle of the $fileName.

r

ERROR : ezcLog
in file log.php, class constant ezcLog::ERROR
    Error severity constant.
reset : ezcLog
in file log.php, method ezcLog::reset()
    Resets the log instance to its initial state.
rotateLog : ezcLogFileWriter
in file writer_file.php, method ezcLogFileWriter::rotateLog()
    Rotates a log and returns true upon success.

s

$severity : ezcLogFilter
in file log_filter.php, variable ezcLogFilter::$severity
    The severities that are accepted by the ezcLogFilter.
$severity : ezcLogEntry
in file log_entry.php, variable ezcLogEntry::$severity
    Severity of the log message.
$source : ezcLogEntry
in file log_entry.php, variable ezcLogEntry::$source
    The source of the log message.
$source : ezcLogFilter
in file log_filter.php, variable ezcLogFilter::$source
    The source of the log message.
setDefaults : ezcLog
in file log.php, method ezcLog::setDefaults()
    Sets the source and category defaults to "default".
setFile : ezcLogFileWriter
in file writer_file.php, method ezcLogFileWriter::setFile()
    Maps the filename $fileName to the messages specified by the ezcLogFilter $logFilter.
setMapper : ezcLog
in file log.php, method ezcLog::setMapper()
    Sets the given ezcLogMapper $mapper as the log message to writer map.
setSeverityAttributes : ezcLog
in file log.php, method ezcLog::setSeverityAttributes()
    Sets the attributes $attributes for a group of severities $severityMask.
setSourceAttributes : ezcLog
in file log.php, method ezcLog::setSourceAttributes()
    Sets the attributes $attributes for a group of sources $sources.
shouldContinueProcessing : ezcLogFilterRule
in file filter_rule.php, method ezcLogFilterRule::shouldContinueProcessing()
    Returns true if, after matching, should proceeded to the next filter rule.

t

$timestamp : ezcLogEntry
in file log_entry.php, variable ezcLogEntry::$timestamp
    The timestamp of the moment when this object was created
throwWriterExceptions : ezcLog
in file log.php, method ezcLog::throwWriterExceptions()
    Enables or disables writer exceptions with the boolean $enable.
translateSeverityName : ezcLog
in file log.php, method ezcLog::translateSeverityName()
    Translates the severity constant to a string and returns this.

u

SUCCESS_AUDIT : ezcLog
in file log.php, class constant ezcLog::SUCCESS_AUDIT
    Success audit severity constant.

w

$writers : ezcLog
in file log.php, variable ezcLog::$writers
    Contains the logic of mapping an incoming log message to the writer.
writer_exception.php
procedural page writer_exception.php
wrong_severity.php
procedural page wrong_severity.php
writer.php
procedural page writer.php
writer_file.php
procedural page writer_file.php
writer_stack.php
procedural page writer_stack.php
writer_syslog.php
procedural page writer_syslog.php
writer_unix_file.php
procedural page writer_unix_file.php
write : ezcLogFileWriter
in file writer_file.php, method ezcLogFileWriter::write()
    This method writes the $string to a file.
writeLogMessage : ezcLogUnixFileWriter
in file writer_unix_file.php, method ezcLogUnixFileWriter::writeLogMessage()
    Write the logEntries to a file.
writeLogMessage : ezcLogWriter
in file writer.php, method ezcLogWriter::writeLogMessage()
    Writes the message $message to the log.
writeLogMessage : ezcLogSyslogWriter
in file writer_syslog.php, method ezcLogSyslogWriter::writeLogMessage()
    Writes the message $message to the log.
writeLogMessage : ezcLogStackWriter
in file writer_stack.php, method ezcLogStackWriter::writeLogMessage()
    Writes the message $message to the log.
Last updated: Tue, 01 Sep 2009