diff --git a/src/LogWriter.php b/src/LogWriter.php index 18b9ff7..678882e 100755 --- a/src/LogWriter.php +++ b/src/LogWriter.php @@ -62,7 +62,7 @@ protected function writeAsLeaf($message, $level) { FS::prepend( $this->logFile, - (string) "[" . tick()->now() . "]\n" . $level . "$message\n" + (string) "[" . (new \Leaf\Date())->tick()->now() . "]\n" . $level . "$message\n" ); } @@ -70,7 +70,7 @@ protected function writeAsLinux($message, $level) { FS::append( $this->logFile, - (string) "[" . tick()->now() . "] " . $level . "$message\n" + (string) "[" . (new \Leaf\Date())->tick()->now() . "] " . $level . "$message\n" ); } }