Set WeberTrivia.com to be my default homepage.   Suggest a Question                                               

Suggest A Question : :  Frequently Asked Questions : :  Search : :  Relevant Manuals : : 
PHP Questions : :  Linux Questions : :  MySQL Questions : : 
home  [ Login ] 

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.

Who's Online
Guest Users: 8
Google
Web
WeberTrivia
WeberDev
WeberForums
 Free Sample Chapters  Free Sample Chapters
  Deliver First Class Web Sites: 101 Essential Checklists
Want to learn how to make your web sites usable and accessible? Want to ensure that your sites meet current best practice, without spending hours trawling through incomprehensible specifications and recommendations from dozens of different books, research papers, and web sites? Want to make sure that the sites you build are "right the first time," requiring no costly redevelopments?

More Sample Chapters

PHP General