Skip to content

Instantly share code, notes, and snippets.

View mudrd8mz's full-sized avatar

David Mudrák mudrd8mz

View GitHub Profile
diff --git a/backup/util/loggers/file_logger.class.php b/backup/util/loggers/file_logger.class.php
index b183767..9b69932 100644
--- a/backup/util/loggers/file_logger.class.php
+++ b/backup/util/loggers/file_logger.class.php
@@ -69,7 +69,7 @@ class file_logger extends base_logger {
// Protected API starts here
protected function action($message, $level, $options = null) {
- $prefix = $this->get_prefix($level, $options);
+ $prefix = sprintf('%-38s', $this->get_prefix($level, $options));