public static function setOutputFormat($format)
    {
        $self = Debugger::getInstance();

        if (!isset($self->_templates[$format])) {
            throw new InvalidArgumentException('Invalid Debugger output format.');
        }
        $self->_outputFormat = $format;
    }
public static function setOutputFormat($format)
    {
        $self = Debugger::getInstance();

        if (!isset($self->_templates[$format])) {
            throw new InvalidArgumentException('Invalid Debugger output format.');
        }
        $self->_outputFormat = $format;
    }
public static function setOutputFormat ( $ format ) { $ self = Debugger :: getInstance ( ) ; if ( ! isset ( $ self -> _templates [ $ format ] ) ) { throw new InvalidArgumentException ( 'Invalid Debugger output format.' ) ; } $ self -> _outputFormat = $ format ; }
Set the output format for Debugger error rendering.

@param string $format The format you want errors to be output as.
@return void
@throws \InvalidArgumentException When choosing a format that doesn't exist.
Set the output format for Debugger error rendering .