Skip to content

alonexy/pipe_log_store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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]);

About

pipe_log_store

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages