您现在的位置是:首页 > ThinkPHP

李清波 2015-11-13 ThinkPHP 1858 复制当前网址

日志驱动_驱动扩展_扩展_帮助文档_Thinkphp手册



日志驱动默认的命名空间位于Think\Log\Driver,驱动类需要实现的接口方法包括:

方法说明
架构方法__construct($config=array())
写入方法write($log,$destination='')

日志驱动只需要实现写入方法即可,log参数是日志信息字符串。


文章来源:https://www.liqingbo.com/blog-1202.html

评论