$processors
$processors : callable[]
Inspired on LogEntriesHandler.
$processors : callable[]
$formatter : ?\Monolog\Formatter\FormatterInterface
$level : int
$bubble : bool
$logToken : string
$connectionString : string
$connectionTimeout : float
$resource : resource|null
$timeout : float
$writingTimeout : float
$lastSentBytes : ?int
$chunkSize : ?int
$persistent : bool
$errno : ?int
$errstr : ?string
$lastWritingAt : ?float
__construct(string $token, string $region = 'us', bool $useSSL = true, mixed $level = Logger::DEBUG, bool $bubble = true, bool $persistent = false, float $timeout = 0.0, float $writingTimeout = 10.0, ?float $connectionTimeout = null, ?int $chunkSize = null) : mixed
string | $token | Log token supplied by InsightOps |
string | $region | Region where InsightOps account is hosted. Could be 'us' or 'eu'. |
bool | $useSSL | Whether or not SSL encryption should be used |
mixed | $level | |
bool | $bubble | |
bool | $persistent | Flag to enable/disable persistent connections |
float | $timeout | Socket timeout to wait until the request is being aborted |
float | $writingTimeout | Socket timeout to wait until the request should've been sent/written |
?float | $connectionTimeout | Socket connect timeout to wait until the connection should've been established |
?int | $chunkSize | Sets the chunk size. Only has effect during connection in the writing cycle |
If SSL encryption is set to true and OpenSSL is missing