symfony API

sfWebDebugLogger Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website

« Back to API menu

1.2 API OpenSearch


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.

sfWebDebugLogger logs messages into the web debug toolbar.


sfWebDebugLogger  <  sfVarLogger < sfLogger

Method Summary

  • string filterResponseContent($event, $content)
    Listens to the response.filter_content event.
  • Boolean initialize($dispatcher, $options = array())
    Initializes this logger.

Methods inherited from sfVarLogger

doLog , getHighestPriority , getLogs , getPriorities , getTypes , getXDebugStack , initialize

Methods inherited from sfLogger

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

Method Details

  • (string) filterResponseContent ($event, $content) Browse code

    $event The sfEvent instance
    $content The response content

    Listens to the response.filter_content event.

    returns The filtered response content

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

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

    Initializes this logger.

    Available options:

    • web_debug_class: The web debug class (sfWebDebug by default).

    returns true, if initialization completes successfully, otherwise false.