An open API service indexing awesome lists of open source software.

https://github.com/php-lsys/loger

lsys module:loger install: composer require lsys/loger
https://github.com/php-lsys/loger

Last synced: 5 months ago
JSON representation

lsys module:loger install: composer require lsys/loger

Awesome Lists containing this project

README

          

#日志处理

//更多设置参阅 dome/log.php
//设置日志处理 handler
\LSYS\Loger\DI::get()->loger()->add_handler(new Folder(__DIR__."/logs"));

//出问题 ,记录日志
$log=\LSYS\Loger\DI::get()->loger();
$log->add_debug("hehe");