src/Charcoal/App/Handler/AbstractError.php
protected function logError($message)
    {
        if ($this->logger instanceof LoggerInterface) {
            $this->logger->error($message);
        } else {
            error_log($message);
        }
    }
protected function logError($message)
    {
        if ($this->logger instanceof LoggerInterface) {
            $this->logger->error($message);
        } else {
            error_log($message);
        }
    }
protected function logError ( $ message ) { if ( $ this -> logger instanceof LoggerInterface ) { $ this -> logger -> error ( $ message ) ; } else { error_log ( $ message ) ; } }
Wraps the error_log function so that this can be easily tested

@param  string $message The message to log.
@return void
Wraps the error_log function so that this can be easily tested