diff --git a/System/Abstracts/BaseObject.php b/System/Abstracts/BaseObject.php index f56d381a..a18ff320 100644 --- a/System/Abstracts/BaseObject.php +++ b/System/Abstracts/BaseObject.php @@ -209,8 +209,8 @@ class BaseObject implements Configure $length = strlen('[ERROR][2021-02-20 08:32:02]:'); - $message = "\033[41;37m[ERROR][" . date('Y-m-d H:i:s') . ']: ' . PHP_EOL . "\033[0m"; - $message .= "\033[41;37m" . str_pad($content, $length, ' ', STR_PAD_LEFT) . PHP_EOL . "\033[0m"; + $message = "\033[41;37m" . PHP_EOL . "[ERROR][" . date('Y-m-d H:i:s') . ']: ' . PHP_EOL . "\033[0m"; + $message .= "\033[41;37m" . str_pad($content, $length, ' ', STR_PAD_LEFT) . "\033[0m"; $message .= PHP_EOL; $socket = Snowflake::app()->getLogger();