[Log] element index

Package indexes

All elements
a c d e f g i l m n o p r s u w _
_
top
Variable $_append
Log_file::$_append in file.php
Should new log entries be append to an existing log file, or should the
Variable $_buffer
Log_console::$_buffer in console.php
String holding the buffered output.
Variable $_buffer
String buffer that holds line that are pending output.
Variable $_buffering
Should the output be buffered or displayed immediately?
Variable $_calendar
holding the calendar specification to connect to.
Variable $_children
Log_composite::$_children in composite.php
Array holding all of the Log instances to which log events should be sent.
Variable $_colors
Mapping of log priorities to colors.
Variable $_db
Log_sql::$_db in sql.php
Object holding the database handle.
Variable $_db
Log_sqlite::$_db in sqlite.php
Object holding the database handle.
Variable $_destination
The type-specific destination value.
Variable $_dsn
Log_sql::$_dsn in sql.php
Array containing the dsn information.
Variable $_eol
Log_file::$_eol in file.php
String containing the end-on-line character sequence.
Variable $_error_append
String to output after an error message
Variable $_error_prepend
String to output before an error message
Variable $_existingConnection
Flag indicating that we're using an existing database connection.
Variable $_existingConnection
Flag indicating that we're using an existing database connection.
Variable $_extra_headers
Additional headers to pass to the mail() function when the PEAR_LOG_TYPE_MAIL type is used.
Variable $_filename
String containing the name of the log file.
Variable $_formatMap
Hash that maps canonical format keys to position arguments for the "line format" string.
Variable $_formatMap
Hash that maps canonical format keys to position arguments for the "line format" string.
Variable $_fp
Log_file::$_fp in file.php
Handle to the log file.
Variable $_from
Log_mail::$_from in mail.php
String holding the sender's email address.
Variable $_id
Log_observer::$_id in observer.php
Instance-specific unique identification number.
Variable $_id
Log::$_id in Log.php
Instance-specific unique identification number.
Variable $_ident
Log::$_ident in Log.php
The label that uniquely identifies this set of log messages.
Variable $_identLimit
Maximum length of the $ident string. This corresponds to the size of the 'ident' column in the SQL table.
Variable $_lineFormat
String containing the format of a log line.
Variable $_lineFormat
String containing the format of a log line.
Variable $_listeners
Log::$_listeners in Log.php
Holds all Log_observer objects that wish to be notified of new messages.
Variable $_mask
Log::$_mask in Log.php
The bitmask of allowed log levels.
Variable $_message
String holding the mail message body.
Variable $_mode
Log_file::$_mode in file.php
Integer (in octal) containing the log file's permissions mode.
Variable $_name
Log_mcal::$_name in mcal.php
Integer holding the log facility to use.
Variable $_name
Log_syslog::$_name in syslog.php
Integer holding the log facility to use.
Variable $_name
Log_win::$_name in win.php
The name of the output window.
Variable $_opened
Log::$_opened in Log.php
Indicates whether or not the log can been opened / connected.
Variable $_options
Log_sqlite::$_options in sqlite.php
Array containing the connection defaults
Variable $_options
holding the options to pass to the calendar stream.
Variable $_password
holding the password to use.
Variable $_preamble
String holding an optional preamble for the log messages.
Variable $_priority
Log::$_priority in Log.php
The default priority to use when logging an event.
Variable $_priority
Log_observer::$_priority in observer.php
The minimum priority level of message that we want to hear about.
Variable $_recipient
String holding the recipient's email address.
Variable $_sequence
String holding the name of the ID sequence.
Variable $_stream
Log_mcal::$_stream in mcal.php
ResourceID of the MCAL stream.
Variable $_stream
Log_console::$_stream in console.php
Handle to the current output stream.
Variable $_subject
String holding the email's subject.
Variable $_table
Log_sql::$_table in sql.php
String holding the database table to use.
Variable $_table
Log_sqlite::$_table in sqlite.php
String holding the database table to use.
Variable $_timeFormat
String containing the timestamp format. It will be passed directly to strftime(). Note that the timestamp string will generated using the current locale.
Variable $_timeFormat
String containing the timestamp format. It will be passed directly to strftime(). Note that the timestamp string will generated using the current locale.
Variable $_title
Log_win::$_title in win.php
The title of the output window.
Variable $_type
Log_error_log::$_type in error_log.php
The error_log() log type.
Variable $_username
holding the username to use.
Method _announce
Log::_announce() in Log.php
Informs each registered observer instance that a new message has been logged.
Method _createTable
Checks whether the log table exists and creates it if necessary.
Method _extractMessage
Returns the string representation of the message data.
Method _isMasked
Log::_isMasked() in Log.php
Check if the given priority is included in the current level mask.
Method _Log_console
Destructor
Method _Log_file
Destructor
Method _Log_mail
Destructor. Calls close().
Method _Log_win
Destructor
Method _mkpath
Creates the given directory path. If the parent directories don't already exist, they will be created, too.
Method _toSyslog
Converts a PEAR_LOG_* constant into a syslog LOG_* constant.
Method _writeln
Writes a single line of text to the output window.
a
top
Method addChild
Log_composite::addChild() in composite.php
Adds a Log instance to the list of children.
Method alert
Log::alert() in Log.php
A convenience function for logging an alert event. It will log a message at the PEAR_LOG_ALERT log level.
Method attach
Log::attach() in Log.php
Adds a Log_observer instance to the list of observers that are listening for messages emitted by this Log instance.
c
top
Method close
Log_mail::close() in mail.php
Closes the message, if it is open, and sends the mail.
Method close
Log_mcal::close() in mcal.php
Closes the calendar stream, if it is open.
Method close
Log_sql::close() in sql.php
Closes the connection to the database if it is still open and we were the ones that opened it. It is the caller's responsible to close an existing connection that was passed to us via $conf['db'].
Method close
Log_syslog::close() in syslog.php
Closes the connection to the system logger, if it is open.
Method close
Log::close() in Log.php
Abstract implementation of the close() method.
Method close
Log_composite::close() in composite.php
Closes any child instances.
Method close
Log_win::close() in win.php
Closes the output stream if it is open. If there are still pending lines in the output buffer, the output window will be opened so that the buffer can be drained.
Method close
Log_file::close() in file.php
Closes the log file if it is open.
Method close
Log_sqlite::close() in sqlite.php
Closes the connection to the database if it is still open and we were the ones that opened it. It is the caller's responsible to close an existing connection that was passed to us via $conf['db'].
Method crit
Log::crit() in Log.php
A convenience function for logging a critical event. It will log a message at the PEAR_LOG_CRIT log level.
Page composite.php
composite.php in composite.php
Page console.php
console.php in console.php
d
top
Method debug
Log::debug() in Log.php
A convenience function for logging a debug event. It will log a message at the PEAR_LOG_DEBUG log level.
Method detach
Log::detach() in Log.php
Removes a Log_observer instance from the list of observers.
Page display.php
display.php in display.php
e
top
Method emerg
Log::emerg() in Log.php
A convenience function for logging a emergency event. It will log a message at the PEAR_LOG_EMERG log level.
Method err
Log::err() in Log.php
A convenience function for logging a error event. It will log a message at the PEAR_LOG_ERR log level.
Page error_log.php
error_log.php in error_log.php
f
top
Method factory
Log::factory() in Log.php
Attempts to return a concrete Log instance of type $handler.
Method factory
Log_observer::factory() in observer.php
Attempts to return a new concrete Log_observer instance of the requested type.
Method flush
Log::flush() in Log.php
Abstract implementation of the flush() method.
Method flush
Log_mail::flush() in mail.php
Flushes the log output by forcing the email message to be sent now.
Method flush
Log_file::flush() in file.php
Flushes all pending data to the file handle.
Method flush
Log_composite::flush() in composite.php
Flushes all open child instances.
Method flush
Log_console::flush() in console.php
Flushes all pending ("buffered") data to the output stream.
Page file.php
file.php in file.php
g
top
Method getIdent
Log::getIdent() in Log.php
Returns the current identification string.
Method getMask
Log::getMask() in Log.php
Returns the current level mask.
Method getPriority
Returns the current default priority.
i
top
Method info
Log::info() in Log.php
A convenience function for logging a information event. It will log a message at the PEAR_LOG_INFO log level.
Method isComposite
Indicates whether this is a composite class.
Method isComposite
Returns true if this is a composite.
l
top
Method log
Log_mcal::log() in mcal.php
Logs $message and associated information to the currently open calendar stream. Calls open() if necessary. Also passes the message along to any Log_observer instances that are observing this Log.
Method log
Log::log() in Log.php
Abstract implementation of the log() method.
Class Log
Log in Log.php
The Log:: class implements both an abstraction for various logging mechanisms and the Subject end of a Subject-Observer pattern.
Method log
Log_file::log() in file.php
Logs $message to the output window. The message is also passed along to any Log_observer instances that are observing this Log.
Method log
Log_null::log() in null.php
Simply consumes the log event. The message will still be passed along to any Log_observer instances that are observing this Log.
Method log
Log_sql::log() in sql.php
Inserts $message to the currently open database. Calls open(), if necessary. Also passes the message along to any Log_observer instances that are observing this Log.
Method log
Log_win::log() in win.php
Logs $message to the output window. The message is also passed along to any Log_observer instances that are observing this Log.
Method log
Log_syslog::log() in syslog.php
Sends $message to the currently open syslog connection. Calls open() if necessary. Also passes the message along to any Log_observer instances that are observing this Log.
Method log
Log_sqlite::log() in sqlite.php
Inserts $message to the currently open database. Calls open(), if necessary. Also passes the message along to any Log_observer instances that are observing this Log.
Method log
Log_error_log::log() in error_log.php
Logs $message using PHP's error_log() function. The message is also passed along to any Log_observer instances that are observing this Log.
Method log
Log_mail::log() in mail.php
Writes $message to the currently open mail message.
Method log
Log_display::log() in display.php
Writes $message to the text browser. Also, passes the message along to any Log_observer instances that are observing this Log.
Method log
Log_console::log() in console.php
Writes $message to the text console. Also, passes the message along to any Log_observer instances that are observing this Log.
Method log
Log_composite::log() in composite.php
Sends $message and $priority to each child of this composite.
Method Log_composite
Constructs a new composite Log object.
Class Log_composite
Log_composite in composite.php
The Log_composite:: class implements a Composite pattern which allows multiple Log implementations to receive the same events.
Method Log_console
Constructs a new Log_console object.
Class Log_console
Log_console in console.php
The Log_console class is a concrete implementation of the Log:: abstract class which writes message to the text console.
Class Log_display
Log_display in display.php
The Log_display class is a concrete implementation of the Log:: abstract class which writes message into browser in usual PHP maner.
Method Log_display
Constructs a new Log_display object.
Method Log_error_log
Constructs a new Log_error_log object.
Class Log_error_log
Log_error_log in error_log.php
The Log_error_log class is a concrete implementation of the Log abstract class that logs messages using PHP's error_log() function.
Class Log_file
Log_file in file.php
The Log_file class is a concrete implementation of the Log abstract class that logs messages to a text file.
Method Log_file
Constructs a new Log_file object.
Method Log_mail
Constructs a new Log_mail object.
Class Log_mail
Log_mail in mail.php
The Log_mail class is a concrete implementation of the Log:: abstract class which sends log messages to a mailbox.
Class Log_mcal
Log_mcal in mcal.php
The Log_mcal class is a concrete implementation of the Log:: abstract class which sends messages to a local or remote calendar store accessed through MCAL.
Method Log_mcal
Constructs a new Log_mcal object.
Method Log_null
Constructs a new Log_null object.
Class Log_null
Log_null in null.php
The Log_null class is a concrete implementation of the Log:: abstract class. It simply consumes log events.
Method Log_observer
Creates a new basic Log_observer instance.
Class Log_observer
Log_observer in observer.php
The Log_observer:: class implements the Observer end of a Subject-Observer pattern for watching log activity and taking actions on exceptional events.
Method Log_sql
Constructs a new sql logging object.
Class Log_sql
Log_sql in sql.php
The Log_sql class is a concrete implementation of the Log:: abstract class which sends messages to an SQL server. Each entry occupies a separate row in the database.
Method Log_sqlite
Constructs a new sql logging object.
Class Log_sqlite
Log_sqlite in sqlite.php
The Log_sqlite class is a concrete implementation of the Log:: abstract class which sends messages to an Sqlite database.
Method Log_syslog
Constructs a new syslog object.
Class Log_syslog
Log_syslog in syslog.php
The Log_syslog class is a concrete implementation of the Log:: abstract class which sends messages to syslog on UNIX-like machines (PHP emulates this with the Event Log on Windows machines).
Method Log_win
Constructs a new Log_win object.
Class Log_win
Log_win in win.php
The Log_win class is a concrete implementation of the Log abstract class that logs messages to a separate browser window.
Page Log.php
Log.php in Log.php
m
top
Page mail.php
mail.php in mail.php
Page mcal.php
mcal.php in mcal.php
Method MASK
Log::MASK() in Log.php
Calculate the log mask for the given priority.
n
top
Page null.php
null.php in null.php
Method notice
Log::notice() in Log.php
A convenience function for logging a notice event. It will log a message at the PEAR_LOG_NOTICE log level.
Method notify
Log_observer::notify() in observer.php
This is a stub method to make sure that Log_Observer classes do
o
top
Page observer.php
observer.php in observer.php
Method open
Log_sql::open() in sql.php
Opens a connection to the database, if it has not already been opened. This is implicitly called by log(), if necessary.
Method open
Log_sqlite::open() in sqlite.php
Opens a connection to the database, if it has not already been opened. This is implicitly called by log(), if necessary.
Method open
Log_syslog::open() in syslog.php
Opens a connection to the system logger, if it has not already been opened. This is implicitly called by log(), if necessary.
Method open
Log_win::open() in win.php
The first time open() is called, it will open a new browser window and prepare it for output.
Method open
Log_mcal::open() in mcal.php
Opens a calendar stream, if it has not already been opened. This is implicitly called by log(), if necessary.
Method open
Log_file::open() in file.php
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.
Method open
Log::open() in Log.php
Abstract implementation of the open() method.
Method open
Log_mail::open() in mail.php
Starts a new mail message.
Method open
Log_composite::open() in composite.php
Opens the child connections.
p
top
Constant PEAR_LOG_ALERT
PEAR_LOG_ALERT in Log.php
System is unusable
Constant PEAR_LOG_ALL
PEAR_LOG_ALL in Log.php
Debug-level messages
Constant PEAR_LOG_CRIT
PEAR_LOG_CRIT in Log.php
Immediate action required
Constant PEAR_LOG_DEBUG
PEAR_LOG_DEBUG in Log.php
Informational
Constant PEAR_LOG_EMERG
PEAR_LOG_EMERG in Log.php
$Header: /repository/pear/Log/Log.php,v 1.45 2004/01/19 08:02:38 jon Exp $ $Horde: horde/lib/Log.php,v 1.15 2000/06/29 23:39:45 jon Exp $
Constant PEAR_LOG_ERR
PEAR_LOG_ERR in Log.php
Critical conditions
Constant PEAR_LOG_INFO
PEAR_LOG_INFO in Log.php
Normal but significant
Constant PEAR_LOG_NONE
PEAR_LOG_NONE in Log.php
All messages
Constant PEAR_LOG_NOTICE
PEAR_LOG_NOTICE in Log.php
Warning conditions
Constant PEAR_LOG_TYPE_DEBUG
Use PHP's mail() function
Constant PEAR_LOG_TYPE_FILE
Use PHP's debugging connection
Constant PEAR_LOG_TYPE_MAIL
Use PHP's system logger
Constant PEAR_LOG_TYPE_SYSTEM
No message
Constant PEAR_LOG_WARNING
PEAR_LOG_WARNING in Log.php
Error conditions
Method priorityToString
Returns the string representation of a PEAR_LOG_* integer constant.
r
top
Method removeChild
Removes a Log instance from the list of children.
s
top
Page sqlite.php
sqlite.php in sqlite.php
Page sql.php
sql.php in sql.php
Page syslog.php
syslog.php in syslog.php
Method setIdent
Sets this Log instance's identification string. Note that this SQL-specific implementation will limit the length of the $ident string to sixteen (16) characters.
Method setIdent
Log::setIdent() in Log.php
Sets this Log instance's identification string.
Method setIdent
Log_composite::setIdent() in composite.php
Sets this identification string for all of this composite's children.
Method setMask
Log::setMask() in Log.php
Set and return the level mask for the current Log instance.
Method setPriority
Sets the default priority to the specified value.
Method singleton
Log::singleton() in Log.php
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.
u
top
Method UPTO
Log::UPTO() in Log.php
Calculate the log mask for all priorities up to the given priority.
w
top
Page win.php
win.php in win.php
Method warning
Log::warning() in Log.php
A convenience function for logging a warning event. It will log a message at the PEAR_LOG_WARNING log level.
a c d e f g i l m n o p r s u w _