OpenTelemetry PHP

SdkAutoloader
in package
uses LogsMessagesTrait

Tags
psalm-suppress

RedundantCast

Table of Contents

Methods

autoload()  : bool
logDebug()  : void
logError()  : void
logInfo()  : void
logNotice()  : void
logWarning()  : void
createLateBindingLoggerProvider()  : LoggerProviderInterface
createLateBindingMeterProvider()  : MeterProviderInterface
createLateBindingTextMapPropagator()  : TextMapPropagatorInterface
createLateBindingTracerProvider()  : TracerProviderInterface
doLog()  : void
environmentBasedInitializer()  : Configurator
fileBasedInitializer()  : Configurator
getHookManager()  : HookManagerInterface
registerInstrumentations()  : void
Register all {@link Instrumentation} configured through SPI
shouldLog()  : bool

Methods

autoload()

public static autoload() : bool
Return values
bool

logDebug()

protected static logDebug(string $message[, array<string|int, mixed> $context = [] ]) : void
Parameters
$message : string
$context : array<string|int, mixed> = []

logError()

protected static logError(string $message[, array<string|int, mixed> $context = [] ]) : void
Parameters
$message : string
$context : array<string|int, mixed> = []

logInfo()

protected static logInfo(string $message[, array<string|int, mixed> $context = [] ]) : void
Parameters
$message : string
$context : array<string|int, mixed> = []

logNotice()

protected static logNotice(string $message[, array<string|int, mixed> $context = [] ]) : void
Parameters
$message : string
$context : array<string|int, mixed> = []

logWarning()

protected static logWarning(string $message[, array<string|int, mixed> $context = [] ]) : void
Parameters
$message : string
$context : array<string|int, mixed> = []

doLog()

private static doLog(string $level, string $message, array<string|int, mixed> $context) : void
Parameters
$level : string
$message : string
$context : array<string|int, mixed>

registerInstrumentations()

Register all {@link Instrumentation} configured through SPI

private static registerInstrumentations() : void
Tags
psalm-suppress

ArgumentTypeCoercion

shouldLog()

private static shouldLog(string $level) : bool
Parameters
$level : string
Return values
bool

        
On this page

Search results