123456789101112131415161718192021222324252627282930313233 |
- <?php
- /*
- * This file is part of the overtrue/laravel-wechat.
- *
- * (c) overtrue <i@overtrue.me>
- *
- * This source file is subject to the MIT license that is bundled
- * with this source code in the file LICENSE.
- */
- return [
- //微信公众号配置
- 'log' => [
- 'default' => 'dev', // 默认使用的 channel,生产环境可以改为下面的 prod
- 'channels' => [
- // 测试环境
- 'dev' => [
- 'driver' => 'daily',
- 'path' => storage_path('logs/official/easywechat.log'),
- 'level' => 'debug',
- 'days' =>30
- ],
- // 生产环境
- 'prod' => [
- 'driver' => 'daily',
- 'path' => storage_path('logs/official/easywechat.log'),
- 'level' => 'debug',
- 'days' =>30
- ],
- ],
- ]
- ];
|