1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-17 18:36:32 +02:00

Put braces on same line for if statements, as requested by @Seldaek in

https://github.com/Seldaek/monolog/pull/76/files#r737303
This commit is contained in:
Marc Abramowitz
2012-04-26 11:14:03 -07:00
parent f1580092bc
commit 6d158110d5

View File

@@ -54,12 +54,9 @@ class RavenHandler extends AbstractProcessingHandler
*/
protected function write(array $record)
{
if ($record['level'] == Logger::ERROR)
{
if ($record['level'] == Logger::ERROR) {
$this->ravenClient->captureException($record['context']['context']);
}
else
{
} else {
$this->ravenClient->captureMessage(
$record['formatted']['message'], $params = $record,
$record['formatted']['level'], $stack = true