1234567891011121314151617181920212223242526272829 |
- <?php
- namespace app\common\library;
- use Psr\Log\AbstractLogger;
- use think\Hook;
- class Log extends AbstractLogger
- {
-
- public function log($level, $message, array $context = array())
- {
- \think\Log::write($message);
- }
- }
|