kernel/lib/Debug.php
private static function _setFileNameInErrorFile()
    {
        /**
         * We see if it's a cli call or a web call
         */

        if (defined('BASH_CALLED')) {

            error_log(Bash::setColor('############### '.BASH_CALLED.' ###############', 'cyan'));
        }
        else {

            if (isset($_SERVER['HTTP_HOST']) && isset($_SERVER['REQUEST_URI'])) {
                error_log(Bash::setColor('############### ' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] . ' ###############', 'cyan'));
            }
        }
    }
private static function _setFileNameInErrorFile()
    {
        /**
         * We see if it's a cli call or a web call
         */

        if (defined('BASH_CALLED')) {

            error_log(Bash::setColor('############### '.BASH_CALLED.' ###############', 'cyan'));
        }
        else {

            if (isset($_SERVER['HTTP_HOST']) && isset($_SERVER['REQUEST_URI'])) {
                error_log(Bash::setColor('############### ' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] . ' ###############', 'cyan'));
            }
        }
    }
set the name of the called

@access public
@return void