Created
June 6, 2011 10:16
-
-
Save mudrd8mz/1010035 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)); | |
$depth = isset($options['depth']) ? $options['depth'] : 0; | |
// Depending of the type (extension of the file), format differently | |
if (substr($this->fullpath, -5) !== '.html') { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment