PHP code example of saithink / thinkorm-log
1. Go to this page and download the library: Download saithink/thinkorm-log library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
saithink / thinkorm-log example snippets
return [
// 是否启用日志记录
'enable' => true,
// 是否输出到控制台
'console' => true,
// 是否记录到日志文件
'file' => true,
];