Skip to content

Commit 1bcce34

Browse files
authored
Merge pull request #145 from Antipov-Anton/master
Pass logging config to monolog handler to allow custom formatter
2 parents 39e918a + 69e105e commit 1bcce34

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)