phpDocumentor Log
[ class tree: Log ] [ index: Log ] [ all elements ]

Element index for package Log

Package indexes

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

_

_

$_append
in file file.php, variable Log_file::$_append
    Should new log entries be append to an existing log file, or should the
$_dirmode
in file file.php, variable Log_file::$_dirmode
    Integer (in octal) specifying the file permission mode that will be used when creating directories that do not already exist.
$_eol
in file file.php, variable Log_file::$_eol
    String containing the end-on-line character sequence.
$_filename
in file file.php, variable Log_file::$_filename
    String containing the name of the log file.
$_formatMap
in file Log.php, variable Log::$_formatMap
    Maps canonical format keys to position arguments for use in building "line format" strings.
$_fp
in file file.php, variable Log_file::$_fp
    Handle to the log file.
$_id
in file Log.php, variable Log::$_id
    Instance-specific unique identification number.
$_ident
in file Log.php, variable Log::$_ident
    The label that uniquely identifies this set of log messages.
$_lineFormat
in file file.php, variable Log_file::$_lineFormat
    String containing the format of a log line.
$_listeners
in file Log.php, variable Log::$_listeners
    Holds all Log_observer objects that wish to be notified of new messages.
$_locking
in file file.php, variable Log_file::$_locking
    Should advisory file locking (i.e., flock()) be used?
$_mask
in file Log.php, variable Log::$_mask
    The bitmask of allowed log levels.
$_mode
in file file.php, variable Log_file::$_mode
    Integer (in octal) containing the log file's permissions mode.
$_opened
in file Log.php, variable Log::$_opened
    Indicates whether or not the log can been opened / connected.
$_priority
in file Log.php, variable Log::$_priority
    The default priority to use when logging an event.
$_timeFormat
in file file.php, variable Log_file::$_timeFormat
    String containing the timestamp format. It will be passed directly to strftime(). Note that the timestamp string will generated using the current locale.
_announce
in file Log.php, method Log::_announce()
    Informs each registered observer instance that a new message has been logged.
_extractMessage
in file Log.php, method Log::_extractMessage()
    Returns the string representation of the message data.
_format
in file Log.php, method Log::_format()
    Produces a formatted log line based on a format string and a set of variables representing the current log record and state.
_getBacktraceVars
in file Log.php, method Log::_getBacktraceVars()
    Using debug_backtrace(), returns the file, line, and enclosing function name of the source code context from which log() was invoked.
_isMasked
in file Log.php, method Log::_isMasked()
    Check if the given priority is included in the current level mask.
_Log_file
in file file.php, method Log_file::_Log_file()
    Destructor
_mkpath
in file file.php, method Log_file::_mkpath()
    Creates the given directory path. If the parent directories don't already exist, they will be created, too.
a

a

alert
in file Log.php, method Log::alert()
    A convenience function for logging an alert event. It will log a message at the PEAR_LOG_ALERT log level.
attach
in file Log.php, method Log::attach()
    Adds a Log_observer instance to the list of observers that are listening for messages emitted by this Log instance.
c

c

close
in file file.php, method Log_file::close()
    Closes the log file if it is open.
close
in file Log.php, method Log::close()
    Abstract implementation of the close() method.
crit
in file Log.php, method Log::crit()
    A convenience function for logging a critical event. It will log a message at the PEAR_LOG_CRIT log level.
d

d

debug
in file Log.php, method Log::debug()
    A convenience function for logging a debug event. It will log a message at the PEAR_LOG_DEBUG log level.
detach
in file Log.php, method Log::detach()
    Removes a Log_observer instance from the list of observers.
e

e

emerg
in file Log.php, method Log::emerg()
    A convenience function for logging a emergency event. It will log a message at the PEAR_LOG_EMERG log level.
err
in file Log.php, method Log::err()
    A convenience function for logging a error event. It will log a message at the PEAR_LOG_ERR log level.
f

f

factory
in file Log.php, method Log::factory()
    Attempts to return a concrete Log instance of type $handler.
flush
in file Log.php, method Log::flush()
    Abstract implementation of the flush() method.
flush
in file file.php, method Log_file::flush()
    Flushes all pending data to the file handle.
file.php
procedural page file.php
g

g

getIdent
in file Log.php, method Log::getIdent()
    Returns the current identification string.
getMask
in file Log.php, method Log::getMask()
    Returns the current level mask.
getPriority
in file Log.php, method Log::getPriority()
    Returns the current default priority.
i

i

info
in file Log.php, method Log::info()
    A convenience function for logging a information event. It will log a message at the PEAR_LOG_INFO log level.
isComposite
in file Log.php, method Log::isComposite()
    Indicates whether this is a composite class.
l

l

Log.php
procedural page Log.php
Log
in file Log.php, class Log
    The Log:: class implements both an abstraction for various logging mechanisms and the Subject end of a Subject-Observer pattern.
log
in file Log.php, method Log::log()
    Abstract implementation of the log() method.
log
in file file.php, method Log_file::log()
    Logs $message to the output window. The message is also passed along to any Log_observer instances that are observing this Log.
Log_file
in file file.php, method Log_file::Log_file()
    Constructs a new Log_file object.
Log_file
in file file.php, class Log_file
    The Log_file class is a concrete implementation of the Log abstract class that logs messages to a text file.
m

m

MASK
in file Log.php, method Log::MASK()
    Calculate the log mask for the given priority.
MAX
in file Log.php, method Log::MAX()
    Calculate the log mask for all priorities less than or equal to the given priority. In other words, $priority will be the highests priority matched by the resulting mask.
MIN
in file Log.php, method Log::MIN()
    Calculate the log mask for all priorities greater than or equal to the given priority. In other words, $priority will be the lowest priority matched by the resulting mask.
n

n

notice
in file Log.php, method Log::notice()
    A convenience function for logging a notice event. It will log a message at the PEAR_LOG_NOTICE log level.
o

o

open
in file Log.php, method Log::open()
    Abstract implementation of the open() method.
open
in file file.php, method Log_file::open()
    Opens the log file for output. If the specified log file does not already exist, it will be created. By default, new log entries are appended to the end of the log file.
p

p

PEAR_LOG_ALERT
in file Log.php, constant PEAR_LOG_ALERT
    System is unusable
PEAR_LOG_ALL
in file Log.php, constant PEAR_LOG_ALL
    Debug-level messages
PEAR_LOG_CRIT
in file Log.php, constant PEAR_LOG_CRIT
    Immediate action required
PEAR_LOG_DEBUG
in file Log.php, constant PEAR_LOG_DEBUG
    Informational
PEAR_LOG_EMERG
in file Log.php, constant PEAR_LOG_EMERG
    $Header: /repository/pear/Log/Log.php,v 1.64 2006/10/08 23:03:15 jon Exp $ $Horde: horde/lib/Log.php,v 1.15 2000/06/29 23:39:45 jon Exp $
PEAR_LOG_ERR
in file Log.php, constant PEAR_LOG_ERR
    Critical conditions
PEAR_LOG_INFO
in file Log.php, constant PEAR_LOG_INFO
    Normal but significant
PEAR_LOG_NONE
in file Log.php, constant PEAR_LOG_NONE
    All messages
PEAR_LOG_NOTICE
in file Log.php, constant PEAR_LOG_NOTICE
    Warning conditions
PEAR_LOG_TYPE_DEBUG
in file Log.php, constant PEAR_LOG_TYPE_DEBUG
    Use PHP's mail() function
PEAR_LOG_TYPE_FILE
in file Log.php, constant PEAR_LOG_TYPE_FILE
    Use PHP's debugging connection
PEAR_LOG_TYPE_MAIL
in file Log.php, constant PEAR_LOG_TYPE_MAIL
    Use PHP's system logger
PEAR_LOG_TYPE_SYSTEM
in file Log.php, constant PEAR_LOG_TYPE_SYSTEM
    No message
PEAR_LOG_WARNING
in file Log.php, constant PEAR_LOG_WARNING
    Error conditions
priorityToString
in file Log.php, method Log::priorityToString()
    Returns the string representation of a PEAR_LOG_* integer constant.
s

s

setIdent
in file Log.php, method Log::setIdent()
    Sets this Log instance's identification string.
setMask
in file Log.php, method Log::setMask()
    Set and return the level mask for the current Log instance.
setPriority
in file Log.php, method Log::setPriority()
    Sets the default priority to the specified value.
singleton
in file Log.php, method Log::singleton()
    Attempts to return a reference to a concrete Log instance of type $handler, only creating a new instance if no log instance with the same parameters currently exists.
stringToPriority
in file Log.php, method Log::stringToPriority()
    Returns the the PEAR_LOG_* integer constant for the given string representation of a priority name. This function performs a case-insensitive search.
u

u

UPTO
in file Log.php, method Log::UPTO()
    Calculate the log mask for all priorities up to the given priority.
w

w

warning
in file Log.php, method Log::warning()
    A convenience function for logging a warning event. It will log a message at the PEAR_LOG_WARNING log level.

Documentation generated on Thu, 24 Jul 2008 05:04:38 +0200 by phpDocumentor 1.4.0a2