Closed MizouziE closed 1 month ago
Hi,
While investigating a bug on an application that uses this package I noticed a deprecation warning and a type warning in src/Monolog/Handler/LogdnaHandler.php
src/Monolog/Handler/LogdnaHandler.php
/** * @var resource $curl_handle */ private $curl_handle;
Use of this property would expect it to be a CurlHandle.
CurlHandle
public function __construct($ingestion_key, $hostname, $level = \Monolog\Logger::DEBUG, bool $bubble = true)
Monolog\Logger::DEBUG is deprecated and Monolog\Level::Debug should be used in it's place.
Monolog\Logger::DEBUG
Monolog\Level::Debug
Hi,
While investigating a bug on an application that uses this package I noticed a deprecation warning and a type warning in
src/Monolog/Handler/LogdnaHandler.php
Use of this property would expect it to be a
CurlHandle
.Monolog\Logger::DEBUG
is deprecated andMonolog\Level::Debug
should be used in it's place.