StdoutLoggerFactory.php 349 B

12345678910111213141516171819202122
  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Service;
  4. use App\Kernel\Log;
  5. use Psr\Container\ContainerInterface;
  6. /**
  7. * Author:Panda
  8. * Email:joeyoung0314@qq.com
  9. * Class SystemService
  10. * @package App\Service
  11. */
  12. class StdoutLoggerFactory
  13. {
  14. public function __invoke(ContainerInterface $container)
  15. {
  16. return Log::get('sys');
  17. }
  18. }