get('logger.enable', false)) { $logger = new Logger(array_merge( ['identify' => 'yansongda.pay'], $config->get('logger', []) )); Pay::set(LoggerInterface::class, $logger); } } }