symfony API

sfCommandLogger Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.2 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.2 version. Switch to:
This version of symfony is not maintained anymore.
If some of your projects still use this version, consider upgrading as soon as possible.

Inheritence

sfCommandLogger  <  sfConsoleLogger < sfStreamLogger < sfLogger

Method Summary

Methods inherited from sfConsoleLogger

initialize

Methods inherited from sfStreamLogger

doLog , initialize , setStream

Methods inherited from sfLogger

alert , crit , debug , doLog , emerg , err , getLogLevel , getPriorityName , info , initialize , listenToLogEvent , log , notice , setLogLevel , shutdown , warning , __construct

Method Details

  • initialize ($dispatcher, $options = array()) Browse code

    $dispatcher A sfEventDispatcher instance
    $options An array of options.

    Initializes this logger.

  • listenToLogEvent ($event) Browse code

    $event An sfEvent instance

    Listens to command.log events.