-- Kai Meder <[EMAIL PROTECTED]> wrote
(on Wednesday, 11 April 2007, 09:27 PM +0200):
> > $logger->log('Informational message', Zend_Log::INFO);
> Zend_Log::LEVEL_INFO
> btw, why the LEVEL_ in the constant? just more typing-overhead...
> 
> btw2, the java logging facility has convenience methods like
> Zend_Log::info(...
> Zend_Log::warn(...
> Zend_Log::debug(...

Actually, you can do that with the new Zend_Log as well:

    $log->info("message");
    $log->warn("message");
    $log->debug("message");

:-)

-- 
Matthew Weier O'Phinney
PHP Developer            | [EMAIL PROTECTED]
Zend - The PHP Company   | http://www.zend.com/

Reply via email to