其实corethink网站源码分享的问题并不复杂,但是又很多的朋友都不太了解http源码,因此呢,今天小编就来为大家分享corethink网站源码分享的一些知识,希望可以帮助到大家,下面我们一起来看看这个问题的分析吧!
framework阅读
think/initializer/BootService.php
初始化:init
think/initializer/Error.php
属性:app注册异常处理:init异常处理:appException错误处理:appErrorshutdown处理:appShutdown是否致命:isFatal获取异常处理器:getExceptionHandler
think/initializer/RegisterService.php
属性:services初始化:init
think/log/Channel.php
属性:name、logger、event、lazy、log、close、allow构造方法:__construct关闭通道:close清空日志:clear记录日志:record实时写入日志:write获取日志信息:getLog保存日志:save记录日志:emergency记录日志:alert记录日志:critical记录日志:error记录日志:warning记录日志:notice记录日志:info记录日志:debug记录日志:log动态调用:__call
think/log/ChannelSet.php
属性:log、channels构造方法:__construct动态调用:__call
think/log/driver/File.php
属性:config构造方法:__construct写入日志:save写入日志:write获取主日志文件名:getMasterLogFile获取独立日志文件名:getApartLevelFile检查日志大小并生成备份文件:checkLogSize
think/log/driver/Socket.php
属性:app、config、css、allowForceClientIds、clientArg构造方法:__construct写入日志:save发送给指定客户端:sendToClient检查客户端授权:check获取客户端参数:getClientArg发送:send
OK,关于corethink网站源码分享和http源码的内容到此结束了,希望对大家有所帮助。
