123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <?php
- use think\facade\Env;
- return [
-
- 'default' => Env::get('log.channel', 'file'),
-
- 'level' => ['error','warning'],
-
- 'type_channel' => [],
-
- 'close' => false,
-
- 'channels' => [
- 'file' => [
-
- 'type' => 'File',
-
- 'path' => app()->getRuntimePath() . 'log' . DIRECTORY_SEPARATOR,
-
- 'single' => false,
-
- 'apart_level' => [],
-
- 'max_files' => 0,
- ],
-
- ],
- ];
|