PHP code example of saithink / laravelorm-log
1. Go to this page and download the library: Download saithink/laravelorm-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 / laravelorm-log example snippets
return [
// 是否启用日志记录
'enable' => true,
// 是否输出到控制台
'console' => false,
// 是否记录到日志文件
'file' => true,
];