src/Controller/Component/LogComponent.php
public function emergency($scope, $message, $context = [], $config = []) {
        return $this->write('emergency', $scope, $message, $context, $config);
    }
public function emergency($scope, $message, $context = [], $config = []) {
        return $this->write('emergency', $scope, $message, $context, $config);
    }
public function emergency ( $ scope , $ message , $ context = [ ] , $ config = [ ] ) { return $ this -> write ( 'emergency' , $ scope , $ message , $ context , $ config ) ; }
Convenience method to log emergency messages

@param string|array $scope key can be passed to be used for further filtering
@param string $message log message
@param array $context Additional data to be used for logging the message.
See Cake\Log\Log::config() for more information on logging scopes.
@param  mixed $config : change base config (ex request, session...)
@return bool Success
Convenience method to log emergency messages