Monolog implementation with common class
问题 I succeeded in implementing a Monolog logger for test purposes. And now I'm trying to use it in a project. This project doesn't use any MVC framework. I'm trying to write a common class file to wrap access to the Monolog instance. Common class file: File: app_log.php require 'autoload.php'; use Monolog\Logger; use Monolog\Handler\RotatingFileHandler; use Monolog\Processor\UidProcessor; use Monolog\Processor\WebProcessor; use Monolog\Processor\MemoryUsageProcessor; use Monolog\Processor