Skip to content

Commit d1d82fe

Browse files
dwightwatsonstayallive
authored andcommitted
Default log channel level to DEBUG (#287)
1 parent 4ee2f87 commit d1d82fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Sentry/Laravel/LogChannel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class LogChannel extends LogManager
1414
*/
1515
public function __invoke(array $config)
1616
{
17-
$handler = new SentryHandler($this->app->make('sentry'), $config['level'] ?? null, $config['bubble'] ?? true);
17+
$handler = new SentryHandler($this->app->make('sentry'), $config['level'] ?? Logger::DEBUG, $config['bubble'] ?? true);
1818

1919
return new Logger($this->parseChannel($config), [$this->prepareHandler($handler, $config)]);
2020
}

0 commit comments

Comments
 (0)