Skip to content

top-think/think-log

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

think-log

写入LOG日志,支持文件及SocketLog。

安装

composer require topthink/think-log

用法:

$log = new \think\Log;
$log->init([
	'type'=>'file',
	'path'=>'./runtime/logs/',
]);
$log->record('error info','error');
$log->error('error info');
$log->info('log info');
$log->save();

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages