mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-18 23:26:20 +02:00
add some @throws in constructors (#1779)
This commit is contained in:
@@ -33,6 +33,8 @@ class ErrorLogHandler extends AbstractProcessingHandler
|
||||
/**
|
||||
* @param int $messageType Says where the error should go.
|
||||
* @param bool $expandNewlines If set to true, newlines in the message will be expanded to be take multiple log entries
|
||||
*
|
||||
* @throws \InvalidArgumentException If an unsupported message type is set
|
||||
*/
|
||||
public function __construct(int $messageType = self::OPERATING_SYSTEM, int|string|Level $level = Level::Debug, bool $bubble = true, bool $expandNewlines = false)
|
||||
{
|
||||
|
Reference in New Issue
Block a user