kernel/lib/Debug.php
public static function setKindOfReportLog(string $sKindOfReportLog)
    {
        if ($sKindOfReportLog === 'screen' || $sKindOfReportLog === 'all') { self::$_sKindOfReportLog = $sKindOfReportLog; }
        else { self::$_sKindOfReportLog = 'error_log'; }
    }
public static function setKindOfReportLog(string $sKindOfReportLog)
    {
        if ($sKindOfReportLog === 'screen' || $sKindOfReportLog === 'all') { self::$_sKindOfReportLog = $sKindOfReportLog; }
        else { self::$_sKindOfReportLog = 'error_log'; }
    }
set the kind of report Log

@access public
@param  string $sKindOfReportLog
@return void