I've created a ServiceProvider that pushes some middleware... In this middleware I'd like to - [ ] log the **initial** state/values of the session Right now the session is being logged after the controller has run and the session has been modified. - [ ] log the emitted headers `$response = $next($request)`; Currently only capturing response before all the headers have been added
I've created a ServiceProvider that pushes some middleware...
In this middleware I'd like to
log the initial state/values of the session Right now the session is being logged after the controller has run and the session has been modified.
log the emitted headers
$response = $next($request); Currently only capturing response before all the headers have been added