123456789101112131415161718192021222324252627282930313233343536 |
- <?php
- declare(strict_types=1);
- /**
- * This file is part of Hyperf.
- *
- * @link https://www.hyperf.io
- * @document https://hyperf.wiki
- * @contact group@hyperf.io
- * @license https://github.com/hyperf/hyperf/blob/master/LICENSE
- */
- use Hyperf\Contract\StdoutLoggerInterface;
- use Psr\Log\LogLevel;
- use function Hyperf\Support\env;
- return [
- 'app_name' => env('APP_NAME', 'skeleton'),
- 'app_env' => env('APP_ENV', 'dev'),
- 'app_debug' => (bool)env('APP_DEBUG', false),
- 'app_url' => env('APP_URL', 'http://127.0.0.1'),
- 'cdn_url' => env('CDN_URL', ''),
- 'scan_cacheable' => env('SCAN_CACHEABLE', false),
- StdoutLoggerInterface::class => [
- 'log_level' => [
- LogLevel::ALERT,
- LogLevel::CRITICAL,
- LogLevel::DEBUG,
- LogLevel::EMERGENCY,
- LogLevel::ERROR,
- LogLevel::INFO,
- LogLevel::NOTICE,
- LogLevel::WARNING,
- ],
- ],
- ];
|