hello,

it seems that the whole Zend_Log-docs are messed up:
<http://framework.zend.com/manual/en/zend.log.html#zend.log.overview.logging-messages>

> $logger = new Zend_Log();
> $writer = new Zend_Log_Writer_Stream('php://output');
private constructor

> $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(...


yours,
kai

Reply via email to