return;
} if (isset($this->_directives
['logger'
])) { if ($this->_directives
['logger'
] instanceof Zend_Log
) { return;
} Zend_Cache::
throwException('Logger object is not an instance of Zend_Log class.'
);
} // Create a default logger to the standard output stream
$logger =
new Zend_Log(new Zend_Log_Writer_Stream('php://output'
));
$logger->
addFilter(new Zend_Log_Filter_Priority(Zend_Log::WARN, '<='
));
$this->_directives
['logger'
] =
$logger;
} /**
* Log a message at the WARN (4) priority.
*
* @param string $message
*
* @throws Zend_Cache_Exception
*/