public function specEnd($log = null)
{
switch ($log->type()) {
case 'passed':
$this->_write($this->_symbols['dot']);
break;
case 'skipped':
$this->_write('S', 'light-grey');
break;
case 'pending':
$this->_write('P', 'cyan');
break;
case 'excluded':
$this->_write('X', 'yellow');
break;
case 'failed':
$this->_write('F', 'red');
break;
case 'errored':
$this->_write('E', 'magenta');
break;
}
}