Test.php 870 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | ThinkPHP [ WE CAN DO IT JUST THINK IT ]
  4. // +----------------------------------------------------------------------
  5. // | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved.
  6. // +----------------------------------------------------------------------
  7. // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
  8. // +----------------------------------------------------------------------
  9. // | Author: liu21st <liu21st@gmail.com>
  10. // +----------------------------------------------------------------------
  11. namespace think\log\driver;
  12. /**
  13. * 模拟测试输出
  14. */
  15. class Test
  16. {
  17. /**
  18. * 日志写入接口
  19. * @access public
  20. * @param array $log 日志信息
  21. * @return bool
  22. */
  23. public function save(array $log = [])
  24. {
  25. return true;
  26. }
  27. }