Development

Changeset 2793

You must first sign up to be able to contribute.

Changeset 2793

Show
Ignore:
Timestamp:
11/23/06 20:42:34 (2 years ago)
Author:
fabien
Message:

fixed logger constants

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/action/sfComponent.class.php

    r2522 r2793  
    9595    if (sfConfig::get('sf_logging_active')) 
    9696    { 
    97       return $this->context->getLogger()->log($message, constant('SF_PEAR_LOG_'.strtoupper($priority))); 
     97      return $this->context->getLogger()->log($message, constant('SF_LOG_'.strtoupper($priority))); 
    9898    } 
    9999  } 
  • trunk/lib/helper/DebugHelper.php

    r1458 r2793  
    1313  if (sfConfig::get('sf_logging_active')) 
    1414  { 
    15     sfContext::getInstance()->getLogger()->log($message, constant('SF_PEAR_LOG_'.strtoupper($priority))); 
     15    sfContext::getInstance()->getLogger()->log($message, constant('SF_LOG_'.strtoupper($priority))); 
    1616  } 
    1717}