You are here

public function LogsHttpLogger::getHttpHeaders in Logs HTTP 8

A getter for the HTTP headers for the logging request.

Overrides LogsHttpLoggerInterface::getHttpHeaders

File

src/Logger/LogsHttpLogger.php, line 211

Class

LogsHttpLogger
Implements a Logs Http Logger instance.

Namespace

Drupal\logs_http\Logger

Code

public function getHttpHeaders() {
  return [
    'Content-Type' => 'application/json',
  ];
}