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

Breadcrumb

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

function LoggerHolder::__construct

This constructor is a temporary solution to ease the setup of the logger with DI libraries

File

vendor/open-telemetry/api/LoggerHolder.php, line 17

Class

LoggerHolder

Namespace

OpenTelemetry\API

Code

public function __construct(?LoggerInterface $logger = null) {
    self::$logger = $logger;
}

API Navigation

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