OpenTelemetry PHP

SpanExporterFactory
in package
implements SpanExporterFactoryInterface uses LogsMessagesTrait

Table of Contents

Interfaces

SpanExporterFactoryInterface

Constants

DEFAULT_COMPRESSION  = 'none'

Properties

$transportFactory  : TransportFactoryInterface|null

Methods

__construct()  : mixed
create()  : SpanExporterInterface
logDebug()  : void
logError()  : void
logInfo()  : void
logNotice()  : void
logWarning()  : void
buildTransport()  : TransportInterface
doLog()  : void
getCompression()  : string
getEndpoint()  : string
getProtocol()  : string
getTimeout()  : float
shouldLog()  : bool

Constants

Properties

Methods

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>

getEndpoint()

private getEndpoint(string $protocol) : string
Parameters
$protocol : string
Return values
string

shouldLog()

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

        
On this page

Search results