source/Core/Utils.php
public function logger($sText, $blNewline = false)
    {
        $myConfig = \OxidEsales\Eshop\Core\Registry::getConfig();

        if ($myConfig->getConfigParam('iDebug') == -2) {
            if (gettype($sText) != 'string') {
                $sText = var_export($sText, true);
            }
            $logMessage = "----------------------------------------------\n{$sText}" . (($blNewline) ? "\n" : "") . "\n";
            $logger = Registry::getLogger();
            $logger->debug($logMessage);
        }
    }
public function logger($sText, $blNewline = false)
    {
        $myConfig = \OxidEsales\Eshop\Core\Registry::getConfig();

        if ($myConfig->getConfigParam('iDebug') == -2) {
            if (gettype($sText) != 'string') {
                $sText = var_export($sText, true);
            }
            $logMessage = "----------------------------------------------\n{$sText}" . (($blNewline) ? "\n" : "") . "\n";
            $logger = Registry::getLogger();
            $logger->debug($logMessage);
        }
    }
public function logger ( $ sText , $ blNewline = false ) { $ myConfig = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) ; if ( $ myConfig -> getConfigParam ( 'iDebug' ) == - 2 ) { if ( gettype ( $ sText ) != 'string' ) { $ sText = var_export ( $ sText , true ) ; } $ logMessage = "----------------------------------------------\n{$sText}" . ( ( $ blNewline ) ? "\n" : "" ) . "\n" ; $ logger = Registry :: getLogger ( ) ; $ logger -> debug ( $ logMessage ) ; } }
Processes logging.

@deprecated since v5.3 (2016-06-17); Logging mechanism will change in the future.

@param string $sText     Log message text
@param bool   $blNewline If true, writes message to new line (default false)
Processes logging .