Skip to content

Commit eb726cd

Browse files
committed
ICL: Custom formatting.
1 parent b17a69e commit eb726cd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Log/Formatter.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,10 @@ public function __construct()
1010
{
1111
parent::__construct("[%datetime%]: [%level_name%]: %message%\n%context% %extra%\n", null, true, true);
1212
}
13+
14+
public function format(array $record)
15+
{
16+
$output = parent::format($record);
17+
return rtrim($output) . "\n";
18+
}
1319
}

0 commit comments

Comments
 (0)