From bc9783b865820367f10a764a47531348de34c322 Mon Sep 17 00:00:00 2001 From: dongwei <838456736@qq.com> Date: Fri, 11 Jan 2019 18:22:25 +0800 Subject: [PATCH] add some log --- src/Client.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Client.php b/src/Client.php index 52d8fc2..ac61da1 100644 --- a/src/Client.php +++ b/src/Client.php @@ -46,6 +46,7 @@ class Client ]; $this->config = array_merge($default, $config); $stream = new StreamHandler(app()->storagePath().$this->config['log_path']); + app('log')->info('test json-rpc config', $this->config); $stream->setFormatter(new $this->config['log_formatter']()); $logger = new Logger('RPC.LOGGER'); $logger->pushHandler($stream);