src/Leevel/Log/Middleware/Log.php
public function terminate(Closure $next, IRequest $request, IResponse $response): void
    {
        $this->saveLog();

        $next($request, $response);
    }
public function terminate(Closure $next, IRequest $request, IResponse $response): void
    {
        $this->saveLog();

        $next($request, $response);
    }
响应.

@param \Closure               $next
@param \Leevel\Http\IRequest  $request
@param \Leevel\Http\IResponse $response