Logging container

Logging container --  Log supports different types of data containers.

'composite' - Log_composite

Creates a virtual log container consisting of multiple children containers. This makes it possible to send the same events to a collection of other Log instances.

'console' - Log_console

Writes log messages to the text console.

'display' - Log_display

Writes log messages to the browser display (using echo()).

'error_log' - Log_error_log

Logs messages using PHP's error_log() function.

'file' - Log_file

Stores data in an arbitrary file on a local file system (local refers to any file accessible using PHP's filesystem functions).

'mail' - Log_mail

Sends log messages to a mailbox. The mail is actually sent when you close() the logger, or when the destructor is called (when the script is terminated).

'mcal' - Log_mcal

Stores data in a calendar application. This requires the libmcal and mcal PHP extensions.

'null' - Log_null

Simply consumes log events. This container can be used for notifications when there is no need to log the message.

'sql' - Log_sql

Stores data in a database using PEAR::DB

'sqlite' - Log_sqlite

Stores data in an SQLite database using PHP's native SQLite functions.

'syslog' - Log_syslog

Stores data using syslog on Unix-based systems or in the Event Log on Windows NT/2000/XP.

'win' - Log_win

Displays log messages in a separate browser window.