Skip to content

Commit

Permalink
Add strpad right on log type
Browse files Browse the repository at this point in the history
  • Loading branch information
thecodeholic authored Apr 9, 2021
1 parent 3c4449f commit 0d7e384
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FileLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ private function processLogTextTemplate($message, $type = 'LOG')
{
$parts = [
'{date}' => date($this->logTextDateFormat),
'{type}' => $type,
'{type}' => str_pad($type, 7, ' ', STR_PAD_RIGHT),
'{message}' => $message,
];

Expand Down

0 comments on commit 0d7e384

Please # to comment.