You are here

public function MessageFormatter::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/guzzlehttp/guzzle/src/MessageFormatter.php \GuzzleHttp\MessageFormatter::__construct()

Parameters

string $template Log message template:

File

vendor/guzzlehttp/guzzle/src/MessageFormatter.php, line 53

Class

MessageFormatter
Formats log messages using variable substitutions for requests, responses, and other transactional data.

Namespace

GuzzleHttp

Code

public function __construct($template = self::CLF) {
  $this->template = $template ?: self::CLF;
}