SqlLogging implements MiddlewareInterface
Enable sql logging for the admin panel
Table of Contents
Interfaces
- MiddlewareInterface
Properties
Methods
- __construct() : mixed
- process() : ResponseInterface
- Enable SQL Logging as early as possible to catch all queries if the admin panel is active
Properties
$connectionPool
protected
ConnectionPool
$connectionPool
Methods
__construct()
public
__construct(ConnectionPool $connectionPool) : mixed
Parameters
- $connectionPool : ConnectionPool
process()
Enable SQL Logging as early as possible to catch all queries if the admin panel is active
public
process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
Parameters
- $request : ServerRequestInterface
- $handler : RequestHandlerInterface