Açıklama Yok
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | ThinkPHP [ WE CAN DO IT JUST THINK ]
  4. // +----------------------------------------------------------------------
  5. // | Copyright (c) 2006~2018 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. // +----------------------------------------------------------------------
  12. // | 日志设置
  13. // +----------------------------------------------------------------------
  14. return [
  15. // 日志记录方式,内置 file socket 支持扩展
  16. 'type' => 'File',
  17. // 日志记录级别 debug, info, notice, warning, error, critical, alert, emergency
  18. 'level' => [],
  19. // 是否关闭日志 也可以type类型设置为test
  20. 'close' => false,
  21. // 以下为type为文件类型支持的参数File
  22. // 日志保存目录
  23. 'path' => '',
  24. // 独立记录的日志级别 同上
  25. 'apart_level' => [],
  26. // 自动删除超过数量的最早日志
  27. 'max_files' => 30,
  28. ];