symfony API

sfLoggerWrapper Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website

« Back to API menu


You are currently browsing the symfony API for the 1.4 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.

sfLoggerWrapper wraps a class that implements sfLoggerInterface into a real sfLogger object.


sfLoggerWrapper  <  sfLogger

Method Summary

  • doLog($message, $priority)
    Logs a message.
  • __construct($logger)
    Creates a new logger wrapper

Methods inherited from sfLogger

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

Method Details

  • doLog ($message, $priority)

    $message Message
    $priority Message priority

    Logs a message.

  • __construct ($logger)

    $logger The wrapped logger

    Creates a new logger wrapper