From 898fe001c20244163b4f58e989013f355ea8fe32 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Fri, 21 Sep 2018 18:12:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/log/driver/File.php | 2 -- library/think/log/driver/Socket.php | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/library/think/log/driver/File.php b/library/think/log/driver/File.php index 85e1b56d..f2296cfa 100644 --- a/library/think/log/driver/File.php +++ b/library/think/log/driver/File.php @@ -29,8 +29,6 @@ class File 'json' => false, ]; - protected $writed = []; - // 实例化并传入参数 public function __construct($config = []) { diff --git a/library/think/log/driver/Socket.php b/library/think/log/driver/Socket.php index d30bba30..4f62915b 100644 --- a/library/think/log/driver/Socket.php +++ b/library/think/log/driver/Socket.php @@ -60,7 +60,7 @@ class Socket * @param array $log 日志信息 * @return bool */ - public function save(array $log = []) + public function save(array $log = [], $append = false) { if (!$this->check()) { return false;