Skip to content

Commit 69e105e

Browse files
author
aantipov
committed
pass logging config to monolog handler preparation to allow custom formatter
1 parent 39e918a commit 69e105e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Sentry/SentryLaravel/SentryLogChannel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ public function __invoke(array $config)
2121
isset($config['bubble']) ? $config['bubble'] : true
2222
);
2323

24-
return new Logger($this->parseChannel($config), [$this->prepareHandler($handler)]);
24+
return new Logger($this->parseChannel($config), [$this->prepareHandler($handler, $config)]);
2525
}
2626
}

0 commit comments

Comments
 (0)