Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. MessageFormatter.php

function MessageFormatter::__construct

Parameters

string $template Log message template:

File

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

Class

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

Namespace

GuzzleHttp

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal