Index of all elements
[ a ]
[ c ]
[ d ]
[ e ]
[ f ]
[ g ]
[ i ]
[ l ]
[ m ]
[ n ]
[ o ]
[ p ]
[ r ]
[ s ]
[ u ]
[ w ]
[ _ ]
a
- addChild
- in file composite.php, method Log_composite::addChild()
Adds a Log instance to the list of children.
- 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.
top
c
- close
- in file mdb2.php, method Log_mdb2::close()
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'].
- close
- in file mcal.php, method Log_mcal::close()
Closes the calendar stream, if it is open.
- close
- in file mail.php, method Log_mail::close()
Closes the message, if it is open, and sends the mail.
- close
- in file null.php, method Log_null::close()
Closes the handler.
- close
- in file sql.php, method Log_sql::close()
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'].
- close
- in file win.php, method Log_win::close()
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.
- close
- in file syslog.php, method Log_syslog::close()
Closes the connection to the system logger, if it is open.
- close
- in file sqlite.php, method Log_sqlite::close()
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'].
- close
- in file Log.php, method Log::close()
Abstract implementation of the close() method.
- close
- in file file.php, method Log_file::close()
Closes the log file if it is open.
- close
- in file console.php, method Log_console::close()
Closes the output stream.
- close
- in file composite.php, method Log_composite::close()
Closes all of the child instances.
- close
- in file display.php, method Log_display::close()
Closes the display handler.
- close
- in file daemon.php, method Log_daemon::close()
Closes the connection to the system logger, if it is open.
- close
- in file error_log.php, method Log_error_log::close()
Closes the handler.
- 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.
- composite.php
- procedural page composite.php
- console.php
- procedural page console.php
- composite.php
- procedural page composite.php
- console.php
- procedural page console.php
top
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.
- display.php
- procedural page display.php
- daemon.php
- procedural page daemon.php
- display.php
- procedural page display.php
top
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.
- errorHandler
- in file php_error_handler.php, function errorHandler()
- error_log.php
- procedural page error_log.php
- error_log.php
- procedural page error_log.php
top
f
- factory
- in file Log.php, method Log::factory()
Attempts to return a concrete Log instance of type $handler.
- factory
- in file observer.php, method Log_observer::factory()
Attempts to return a new concrete Log_observer instance of the requested type.
- flush
- in file Log.php, method Log::flush()
Abstract implementation of the flush() method.
- flush
- in file mail.php, method Log_mail::flush()
Flushes the log output by forcing the email message to be sent now.
- flush
- in file file.php, method Log_file::flush()
Flushes all pending data to the file handle.
- flush
- in file console.php, method Log_console::flush()
Flushes all pending ("buffered") data to the output stream.
- flush
- in file composite.php, method Log_composite::flush()
Flushes all child instances. It is assumed that all of the children have been successfully opened.
- file.php
- procedural page file.php
- file.php
- procedural page file.php
top
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.
top
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.
- isComposite
- in file composite.php, method Log_composite::isComposite()
Returns true if this is a composite.
top
l
- log
- in file sql.php, method Log_sql::log()
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.
- log
- in file null.php, method Log_null::log()
Simply consumes the log event. The message will still be passed along to any Log_observer instances that are observing this Log.
- log
- in file error_log.php, method Log_error_log::log()
Logs $message using PHP's error_log() function. The message is also passed along to any Log_observer instances that are observing this Log.
- log
- in file syslog.php, method Log_syslog::log()
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.
- 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
- 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 mail.php, method Log_mail::log()
Writes $message to the currently open mail message.
- log
- in file sqlite.php, method Log_sqlite::log()
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.
- log
- in file mdb2.php, method Log_mdb2::log()
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.
- log
- in file Log.php, method Log::log()
Abstract implementation of the log() method.
- log
- in file win.php, method Log_win::log()
Logs $message to the output window. The message is also passed along to any Log_observer instances that are observing this Log.
- log
- in file mcal.php, method Log_mcal::log()
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.
- log
- in file daemon.php, method Log_daemon::log()
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.
- log
- in file console.php, method Log_console::log()
Writes $message to the text console. Also, passes the message along to any Log_observer instances that are observing this Log.
- log
- in file composite.php, method Log_composite::log()
Sends $message and $priority to each child of this composite. If the children aren't already open, they will be opened here.
- log
- in file display.php, method Log_display::log()
Writes $message to the text browser. Also, passes the message along to any Log_observer instances that are observing this Log.
- Log.php
- procedural page Log.php
- Log_composite
- in file composite.php, method Log_composite::Log_composite()
Constructs a new composite Log object.
- Log_composite
- in file composite.php, class Log_composite
The Log_composite:: class implements a Composite pattern which allows multiple Log implementations to receive the same events.
- Log_console
- in file console.php, class Log_console
The Log_console class is a concrete implementation of the Log:: abstract class which writes message to the text console.
- Log_console
- in file console.php, method Log_console::Log_console()
Constructs a new Log_console object.
- Log_daemon
- in file daemon.php, class Log_daemon
The Log_daemon class is a concrete implementation of the Log:: abstract class which sends messages to syslog daemon on UNIX-like machines.
- Log_daemon
- in file daemon.php, method Log_daemon::Log_daemon()
Constructs a new syslog object.
- Log_display
- in file display.php, method Log_display::Log_display()
Constructs a new Log_display object.
- Log_display
- in file display.php, class Log_display
The Log_display class is a concrete implementation of the Log:: abstract class which writes message into browser in usual PHP maner.
- Log_error_log
- in file error_log.php, method Log_error_log::Log_error_log()
Constructs a new Log_error_log object.
- Log_error_log
- in file error_log.php, class Log_error_log
The Log_error_log class is a concrete implementation of the Log abstract class that logs messages using PHP's error_log() function.
- 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.
- Log_file
- in file file.php, method Log_file::Log_file()
Constructs a new Log_file object.
- Log_mail
- in file mail.php, class Log_mail
The Log_mail class is a concrete implementation of the Log:: abstract class which sends log messages to a mailbox.
- Log_mail
- in file mail.php, method Log_mail::Log_mail()
Constructs a new Log_mail object.
- Log_mcal
- in file mcal.php, class Log_mcal
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.
- Log_mcal
- in file mcal.php, method Log_mcal::Log_mcal()
Constructs a new Log_mcal object.
- Log_mdb2
- in file mdb2.php, class Log_mdb2
The Log_mdb2 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.
- Log_mdb2
- in file mdb2.php, method Log_mdb2::Log_mdb2()
Constructs a new sql logging object.
- Log_null
- in file null.php, method Log_null::Log_null()
Constructs a new Log_null object.
- Log_null
- in file null.php, class Log_null
The Log_null class is a concrete implementation of the Log:: abstract class. It simply consumes log events.
- Log_observer
- in file observer.php, class Log_observer
The Log_observer:: class implements the Observer end of a Subject-Observer pattern for watching log activity and taking actions on exceptional events.
- Log_observer
- in file observer.php, method Log_observer::Log_observer()
Creates a new basic Log_observer instance.
- Log_observer_mail
- in file observer_mail.php, method Log_observer_mail::Log_observer_mail()
- Log_observer_mail
- in file observer_mail.php, class Log_observer_mail
The Log_observer:: class implements the Observer end of a Subject-Observer pattern for watching log activity and taking actions on exceptional events.
- Log_sql
- in file sql.php, class Log_sql
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.
- Log_sql
- in file sql.php, method Log_sql::Log_sql()
Constructs a new sql logging object.
- Log_sqlite
- in file sqlite.php, class Log_sqlite
The Log_sqlite class is a concrete implementation of the Log:: abstract class which sends messages to an Sqlite database.
- Log_sqlite
- in file sqlite.php, method Log_sqlite::Log_sqlite()
Constructs a new sql logging object.
- Log_syslog
- in file syslog.php, method Log_syslog::Log_syslog()
Constructs a new syslog object.
- Log_syslog
- in file syslog.php, class Log_syslog
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).
- Log_win
- in file win.php, class Log_win
The Log_win class is a concrete implementation of the Log abstract class that logs messages to a separate browser window.
- Log_win
- in file win.php, method Log_win::Log_win()
Constructs a new Log_win object.
top
m
- mail.php
- procedural page mail.php
- mail.php
- procedural page mail.php
- mcal.php
- procedural page mcal.php
- mdb2.php
- procedural page mdb2.php
- 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.
top
n
- null.php
- procedural page null.php
- null.php
- procedural page null.php
- 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.
- notify
- in file observer_mail.php, method Log_observer_mail::notify()
- notify
- in file observer.php, method Log_observer::notify()
This is a stub method to make sure that Log_Observer classes do
top
o
- observer_mail.php
- procedural page observer_mail.php
- observer.php
- procedural page observer.php
- open
- in file null.php, method Log_null::open()
Opens the handler.
- open
- in file sql.php, method Log_sql::open()
Opens a connection to the database, if it has not already been opened. This is implicitly called by log(), if necessary.
- open
- in file sqlite.php, method Log_sqlite::open()
Opens a connection to the database, if it has not already been opened. This is implicitly called by log(), if necessary.
- open
- in file win.php, method Log_win::open()
The first time open() is called, it will open a new browser window and prepare it for output.
- open
- in file syslog.php, method Log_syslog::open()
Opens a connection to the system logger, if it has not already been opened. This is implicitly called by log(), if necessary.
- open
- in file mdb2.php, method Log_mdb2::open()
Opens a connection to the database, if it has not already been opened. This is implicitly called by log(), if necessary.
- open
- in file mcal.php, method Log_mcal::open()
Opens a calendar stream, if it has not already been opened. This is implicitly called by log(), if necessary.
- open
- in file display.php, method Log_display::open()
Opens the display handler.
- open
- in file daemon.php, method Log_daemon::open()
Opens a connection to the system logger, if it has not already been opened. This is implicitly called by log(), if necessary.
- open
- in file console.php, method Log_console::open()
Open the output stream.
- open
- in file error_log.php, method Log_error_log::open()
Opens the handler.
- 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.
- open
- in file mail.php, method Log_mail::open()
Starts a new mail message.
- open
- in file Log.php, method Log::open()
Abstract implementation of the open() method.
- open
- in file composite.php, method Log_composite::open()
Opens all of the child instances.
top
p
- pear_error_handler.php
- procedural page pear_error_handler.php
- php_error_handler.php
- procedural page php_error_handler.php
- 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
- 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.
top
top
s
- sql.php
- procedural page sql.php
- sqlite.php
- procedural page sqlite.php
- syslog.php
- procedural page syslog.php
- sql.php
- procedural page sql.php
- sqlite.php
- procedural page sqlite.php
- syslog.php
- procedural page syslog.php
- setIdent
- in file sql.php, method Log_sql::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.
- setIdent
- in file mdb2.php, method Log_mdb2::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.
- setIdent
- in file composite.php, method Log_composite::setIdent()
Sets this identification string for all of this composite's children.
- 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.
top
u
- UPTO
- in file Log.php, method Log::UPTO()
Calculate the log mask for all priorities up to the given priority.
top
w
- win.php
- procedural page win.php
- win.php
- procedural page win.php
- 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.
top
top
Documentation generated on Mon, 11 Mar 2019 14:42:39 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|
|