Files
cunkebao_v3/Server/thinkphp/library/think/log/driver/Test.php

31 lines
870 B
PHP
Raw Normal View History

2025-04-02 16:38:48 +08:00
<?php
// +----------------------------------------------------------------------
2025-07-07 11:31:25 +08:00
// | ThinkPHP [ WE CAN DO IT JUST THINK IT ]
2025-04-02 16:38:48 +08:00
// +----------------------------------------------------------------------
2025-07-07 11:31:25 +08:00
// | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved.
2025-04-02 16:38:48 +08:00
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
2025-07-07 11:31:25 +08:00
namespace think\log\driver;
2025-04-02 16:38:48 +08:00
2025-07-07 11:31:25 +08:00
/**
* 模拟测试输出
*/
class Test
2025-04-02 16:38:48 +08:00
{
2025-07-07 11:31:25 +08:00
/**
* 日志写入接口
* @access public
* @param array $log 日志信息
* @return bool
*/
public function save(array $log = [])
2025-04-02 16:38:48 +08:00
{
2025-07-07 11:31:25 +08:00
return true;
2025-04-02 16:38:48 +08:00
}
2025-07-07 11:31:25 +08:00
2025-04-02 16:38:48 +08:00
}