Hi all,

I'm using the sf(1.2) logging system in an application, and I don't 
understand why we have to check if logging is active, ex :

if (sfConfig::get('sf_logging_enabled'))
{
  sfContext::getInstance()->getLogger()->info($message);
}
 

Why the test isn't in the logger himself ?

Thanks,

yohan g.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

begin:vcard
fn:Yohan 'rouKs' GIARELLI
n:GIARELLI;Yohan
email;internet:[email protected]
x-mozilla-html:TRUE
version:2.1
end:vcard

Reply via email to