PHP Trait Airship\Engine\Bolt\Log

Adds a common log() method.
Afficher le fichier Open project: paragonie/airship

Méthodes publiques

Méthode Description
log ( string $message, string $level = LogLevel::ERROR, array $context = [] ) : mixed Log a message with a specific error level

Method Details

log() public méthode

Log a message with a specific error level
public log ( string $message, string $level = LogLevel::ERROR, array $context = [] ) : mixed
$message string
$level string
$context array
Résultat mixed