PageRenderTime 11ms CodeModel.GetById 8ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 1<?php
 2
 3require_once 'Zend/Controller/Action.php';
 4
 5class IndexController extends Zend_Controller_Action
 6{
 7    public function indexAction()
 8    {
 9        $logger = Zend_Registry::get('logger');
10
11        $logger->log('This is a log message!', Zend_Log::INFO);
12    }
13}