Hi all,

I've just commited a new logging system for symfony.

The old one relied on PEAR_Log but was very inflexible and to be honest 
quite a mess.

The new one is very simple and allows you to register your own logging 
objects.

For example, to use PEAR_Log to log to the error_log, you can add this 
to your application config.php:

  require_once('Log.php');
  $log = Log::singleton('error_log', PEAR_LOG_TYPE_SYSTEM, 'symfony');
  sfLogger::getInstance()->registerLogger($log);

All comments welcomed!
Fabien

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to