/demos/Zend/Wildfire/application/controllers/Boot/Zend-Log-Writer-Firebug/IndexController.php
https://github.com/decaoz/zf1 · PHP · 13 lines · 10 code · 3 blank · 0 comment · 0 complexity · 036b8b8c62f3ddc19cb971b040b88d6f MD5 · raw file
- <?php
- require_once 'Zend/Controller/Action.php';
- class IndexController extends Zend_Controller_Action
- {
- public function indexAction()
- {
- $logger = Zend_Registry::get('logger');
- $logger->log('This is a log message!', Zend_Log::INFO);
- }
- }