diff --git a/FileLogger.php b/FileLogger.php index 723400c..2a8cc21 100644 --- a/FileLogger.php +++ b/FileLogger.php @@ -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, ];