OpenTelemetry PHP

LoggerHolder
in package

FinalYes

Table of Contents

Properties

$logger  : LoggerInterface|null

Methods

__construct()  : mixed
This constructor is a temporary solution to ease the setup of the logger with DI libraries
isSet()  : bool
set()  : void

Properties

$logger

private static LoggerInterface|null $logger = null

Methods

__construct()

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

public __construct([LoggerInterface|null $logger = null ]) : mixed
Parameters
$logger : LoggerInterface|null = null

set()

public static set(LoggerInterface|null $logger) : void
Parameters
$logger : LoggerInterface|null

        
On this page

Search results