Cml\Interfaces\Logger::log PHP Method

log() public method

任意等级的日志记录
public log ( mixed $level, string $message, array $context = [] ) : null
$level mixed 日志的严重等级
$message string 要记录到log的信息
$context array 上下文信息
return null
    public function log($level, $message, array $context = []);