kernel/lib/Log/AbstractLogger.php
public function log($level, $message, array $context = array())
    {    
        if (!isset($context['file'])) { $context['file'] = __FILE__; }
        if (!isset($context['line'])) { $context['line'] = __LINE__; }
        if ($level === null) { $level = LogLevel::INFO; }
        
        if (Debug::isDebug() === true) {

            if (Debug::getKindOfReportLog() === 'error_log' || Debug::getKindOfReportLog() === 'all') {
                 
                error_log($context['file'].'> (l.'.$context['line'].') '.$message);
            }
            if (Debug::getKindOfReportLog() === 'screen' || Debug::getKindOfReportLog() === 'all') {
    
                echo '<table width="100%" style="background:orange;border:solid red 15px;"><tr><td style="color:black;padding:10px;font-size:18px;">';
                echo $context['file'].'> (l.'.$context['line'].') '.$message.'<br/>'."\n";
                echo '</td></tr></table>';
            }
        }
	}
public function log($level, $message, array $context = array())
    {    
        if (!isset($context['file'])) { $context['file'] = __FILE__; }
        if (!isset($context['line'])) { $context['line'] = __LINE__; }
        if ($level === null) { $level = LogLevel::INFO; }
        
        if (Debug::isDebug() === true) {

            if (Debug::getKindOfReportLog() === 'error_log' || Debug::getKindOfReportLog() === 'all') {
                 
                error_log($context['file'].'> (l.'.$context['line'].') '.$message);
            }
            if (Debug::getKindOfReportLog() === 'screen' || Debug::getKindOfReportLog() === 'all') {
    
                echo '<table width="100%" style="background:orange;border:solid red 15px;"><tr><td style="color:black;padding:10px;font-size:18px;">';
                echo $context['file'].'> (l.'.$context['line'].') '.$message.'<br/>'."\n";
                echo '</td></tr></table>';
            }
        }
	}
Logs with an arbitrary level.

@param mixed $level
@param string $message
@param array $context
@return void