config.php 779 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * This file is part of Hyperf.
  5. *
  6. * @link https://www.hyperf.io
  7. * @document https://hyperf.wiki
  8. * @contact group@hyperf.io
  9. * @license https://github.com/hyperf/hyperf/blob/master/LICENSE
  10. */
  11. use Hyperf\Contract\StdoutLoggerInterface;
  12. use Psr\Log\LogLevel;
  13. return [
  14. 'app_name' => env('APP_NAME', 'skeleton'),
  15. 'app_env' => env('APP_ENV', 'dev'),
  16. 'scan_cacheable' => env('SCAN_CACHEABLE', false),
  17. StdoutLoggerInterface::class => [
  18. 'log_level' => [
  19. LogLevel::ALERT,
  20. LogLevel::CRITICAL,
  21. LogLevel::DEBUG,
  22. LogLevel::EMERGENCY,
  23. LogLevel::ERROR,
  24. LogLevel::INFO,
  25. LogLevel::NOTICE,
  26. LogLevel::WARNING,
  27. ],
  28. ],
  29. ];