Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 487 Bytes

README.md

File metadata and controls

20 lines (12 loc) · 487 Bytes

pipe_log_store

基于Monlog 把log通过管道输出

调用方式

require_once __DIR__."/../vendor/autoload.php";

$PlogStore = new Alonexy\Pls\PlogStore();

$PlogStore->logStore("PlogStoreServce","logMessage",["user"=>'张三',time()],['id'=>111]);

$PlogStore->setTimeout(3)->isEnabledInfo(false)->logStore("PlogStoreServce","错误信息提示1",["user"=>'测试111',time()],['sdadafafxxx'=>111]);