Skip to main content
Drupal API
Menu
User account menu
Log in
Breadcrumb
Drupal Core 11.1.x
InstrumentationTrait.php
function InstrumentationTrait::getLogger
File
vendor/
open-telemetry/
api/
Instrumentation/
InstrumentationTrait.php
, line 169
Class
InstrumentationTrait
This trait in conjunction with the InstrumentationInterface is meant as a base for instrumentations for the OpenTelemetry API. Instrumentations need to implement the abstract methods of this trait (besides any instrumentation specific code)
Namespace
OpenTelemetry\API\Instrumentation
Code
public
function
getLogger
() : LoggerInterface {
return
$this
->
logger
; }
RSS feed