mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 23:22:48 +08:00
改进
This commit is contained in:
@@ -29,8 +29,6 @@ class File
|
|||||||
'json' => false,
|
'json' => false,
|
||||||
];
|
];
|
||||||
|
|
||||||
protected $writed = [];
|
|
||||||
|
|
||||||
// 实例化并传入参数
|
// 实例化并传入参数
|
||||||
public function __construct($config = [])
|
public function __construct($config = [])
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ class Socket
|
|||||||
* @param array $log 日志信息
|
* @param array $log 日志信息
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function save(array $log = [])
|
public function save(array $log = [], $append = false)
|
||||||
{
|
{
|
||||||
if (!$this->check()) {
|
if (!$this->check()) {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user