-
$_append
-
Should new log entries be append to an existing log file, or should the
-
$_buffer
-
String holding the buffered output.
-
$_buffer
-
String buffer that holds line that are pending output.
-
$_buffering
-
Should the output be buffered or displayed immediately?
-
$_calendar
-
holding the calendar specification to connect to.
-
$_children
-
Array holding all of the Log instances to which log events should be sent.
-
$_colors
-
Mapping of log priorities to colors.
-
$_db
-
Object holding the database handle.
-
$_db
-
Object holding the database handle.
-
$_destination
-
The type-specific destination value.
-
$_dsn
-
Array containing the dsn information.
-
$_eol
-
String containing the end-on-line character sequence.
-
$_error_append
-
String to output after an error message
-
$_error_prepend
-
String to output before an error message
-
$_existingConnection
-
Flag indicating that we're using an existing database connection.
-
$_existingConnection
-
Flag indicating that we're using an existing database connection.
-
$_extra_headers
-
Additional headers to pass to the mail() function when the PEAR_LOG_TYPE_MAIL type is used.
-
$_filename
-
String containing the name of the log file.
-
$_formatMap
-
Hash that maps canonical format keys to position arguments for the "line format" string.
-
$_formatMap
-
Hash that maps canonical format keys to position arguments for the "line format" string.
-
$_fp
-
Handle to the log file.
-
$_from
-
String holding the sender's email address.
-
$_id
-
Instance-specific unique identification number.
-
$_id
-
Instance-specific unique identification number.
-
$_ident
-
The label that uniquely identifies this set of log messages.
-
$_identLimit
-
Maximum length of the $ident string. This corresponds to the size of the 'ident' column in the SQL table.
-
$_lineFormat
-
String containing the format of a log line.
-
$_lineFormat
-
String containing the format of a log line.
-
$_listeners
-
Holds all Log_observer objects that wish to be notified of new messages.
-
$_mask
-
The bitmask of allowed log levels.
-
$_message
-
String holding the mail message body.
-
$_mode
-
Integer (in octal) containing the log file's permissions mode.
-
$_name
-
Integer holding the log facility to use.
-
$_name
-
Integer holding the log facility to use.
-
$_name
-
The name of the output window.
-
$_opened
-
Indicates whether or not the log can been opened / connected.
-
$_options
-
Array containing the connection defaults
-
$_options
-
holding the options to pass to the calendar stream.
-
$_password
-
holding the password to use.
-
$_preamble
-
String holding an optional preamble for the log messages.
-
$_priority
-
The default priority to use when logging an event.
-
$_priority
-
The minimum priority level of message that we want to hear about.
-
$_recipient
-
String holding the recipient's email address.
-
$_sequence
-
String holding the name of the ID sequence.
-
$_stream
-
ResourceID of the MCAL stream.
-
$_stream
-
Handle to the current output stream.
-
$_subject
-
String holding the email's subject.
-
$_table
-
String holding the database table to use.
-
$_table
-
String holding the database table to use.
-
$_timeFormat
-
String containing the timestamp format. It will be passed directly to strftime(). Note that the timestamp string will generated using the current locale.
-
$_timeFormat
-
String containing the timestamp format. It will be passed directly to strftime(). Note that the timestamp string will generated using the current locale.
-
$_title
-
The title of the output window.
-
$_type
-
The error_log() log type.
-
$_username
-
holding the username to use.
-
_announce
-
Informs each registered observer instance that a new message has been logged.
-
_createTable
-
Checks whether the log table exists and creates it if necessary.
-
_extractMessage
-
Returns the string representation of the message data.
-
_isMasked
-
Check if the given priority is included in the current level mask.
-
_Log_console
-
Destructor
-
_Log_file
-
Destructor
-
_Log_mail
-
Destructor. Calls close().
-
_Log_win
-
Destructor
-
_mkpath
-
Creates the given directory path. If the parent directories don't already exist, they will be created, too.
-
_toSyslog
-
Converts a PEAR_LOG_* constant into a syslog LOG_* constant.
-
_writeln
-
Writes a single line of text to the output window.
-
close
-
Closes the message, if it is open, and sends the mail.
-
close
-
Closes the calendar stream, if it is open.
-
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
-
Closes the connection to the system logger, if it is open.
-
close
-
Abstract implementation of the close() method.
-
close
-
Closes any child instances.
-
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
-
Closes the log file if it is open.
-
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'].
-
crit
-
A convenience function for logging a critical event. It will log a message at the PEAR_LOG_CRIT log level.
-
composite.php
-
-
console.php
-
-
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
-
Abstract implementation of the log() method.
-
Log
-
The Log:: class implements both an abstraction for various logging mechanisms and the Subject end of a Subject-Observer pattern.
-
log
-
Logs $message to the output window. The message is also passed along to any Log_observer instances that are observing this Log.
-
log
-
Simply consumes the log event. The message will still be passed along to any Log_observer instances that are observing this Log.
-
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
-
Logs $message to the output window. The message is also passed along to any Log_observer instances that are observing this Log.
-
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
-
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
-
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
-
Writes $message to the currently open mail message.
-
log
-
Writes $message to the text browser. Also, passes the message along to any Log_observer instances that are observing this Log.
-
log
-
Writes $message to the text console. Also, passes the message along to any Log_observer instances that are observing this Log.
-
log
-
Sends $message and $priority to each child of this composite.
-
Log_composite
-
Constructs a new composite Log object.
-
Log_composite
-
The Log_composite:: class implements a Composite pattern which allows multiple Log implementations to receive the same events.
-
Log_console
-
Constructs a new Log_console object.
-
Log_console
-
The Log_console class is a concrete implementation of the Log:: abstract class which writes message to the text console.
-
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_display
-
Constructs a new Log_display object.
-
Log_error_log
-
Constructs a new Log_error_log object.
-
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
-
The Log_file class is a concrete implementation of the Log abstract class that logs messages to a text file.
-
Log_file
-
Constructs a new Log_file object.
-
Log_mail
-
Constructs a new Log_mail object.
-
Log_mail
-
The Log_mail class is a concrete implementation of the Log:: abstract class which sends log messages to a mailbox.
-
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
-
Constructs a new Log_mcal object.
-
Log_null
-
Constructs a new Log_null object.
-
Log_null
-
The Log_null class is a concrete implementation of the Log:: abstract class. It simply consumes log events.
-
Log_observer
-
Creates a new basic Log_observer instance.
-
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_sql
-
Constructs a new sql logging object.
-
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_sqlite
-
Constructs a new sql logging object.
-
Log_sqlite
-
The Log_sqlite class is a concrete implementation of the Log:: abstract class which sends messages to an Sqlite database.
-
Log_syslog
-
Constructs a new syslog object.
-
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
-
Constructs a new Log_win object.
-
Log_win
-
The Log_win class is a concrete implementation of the Log abstract class that logs messages to a separate browser window.
-
Log.php
-
-
observer.php
-
-
open
-
Opens a connection to the database, if it has not already been opened. This is implicitly called by log(), if necessary.
-
open
-
Opens a connection to the database, if it has not already been opened. This is implicitly called by log(), if necessary.
-
open
-
Opens a connection to the system logger, if it has not already been opened. This is implicitly called by log(), if necessary.
-
open
-
The first time open() is called, it will open a new browser window and prepare it for output.
-
open
-
Opens a calendar stream, if it has not already been opened. This is implicitly called by log(), if necessary.
-
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
-
Abstract implementation of the open() method.
-
open
-
Starts a new mail message.
-
open
-
Opens the child connections.