From 808d12a7a430abfbb9d77ab4885d22b76da9040f Mon Sep 17 00:00:00 2001 From: Igor Simdyanov Date: Sun, 26 Jun 2022 13:09:03 +0300 Subject: [PATCH] =?UTF-8?q?=D0=93=D0=BB=D0=B0=D0=B2=D0=B0=2030:=20=D0=B2?= =?UTF-8?q?=D1=8B=D1=87=D0=B8=D1=82=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + inherit/file/logger.php | 2 +- inherit/test.log | 0 3 files changed, 2 insertions(+), 1 deletion(-) delete mode 100644 inherit/test.log diff --git a/.gitignore b/.gitignore index ce0aa63..6b3343b 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ phpdocs/tools phpdocs/docs .DS_Store +inherit/test.log vendor *.log diff --git a/inherit/file/logger.php b/inherit/file/logger.php index 9891107..75a2d0b 100644 --- a/inherit/file/logger.php +++ b/inherit/file/logger.php @@ -20,7 +20,7 @@ class FileLogger public function log($str) { - $prefix = '[' . date('Y-m-d_h:i:s ') . "{$this->name}] "; + $prefix = '[' . date('Y-m-d h:i:s ') . "{$this->name}] "; $str = preg_replace('/^/m', $prefix, rtrim($str)); $this->lines[] = $str . PHP_EOL; } diff --git a/inherit/test.log b/inherit/test.log deleted file mode 100644 index e69de29..0000000