Skip to content

Commit

Permalink
Allow pass Monolog\Level enum instance into LogdnaHandler constructor…
Browse files Browse the repository at this point in the history
… (update typedoc) (#25)
  • Loading branch information
slepic authored Feb 11, 2024
1 parent f60a9ef commit 3d75d28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Monolog/Handler/LogdnaHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public function setIncludeRequestTime($include)
/**
* @param string $ingestion_key
* @param string $hostname
* @param int $level
* @param int|string|\Monolog\Level $level
* @param bool $bubble
*/
public function __construct($ingestion_key, $hostname, $level = \Monolog\Logger::DEBUG, bool $bubble = true)
Expand Down

0 comments on commit 3d75d28

Please sign in to comment.