Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include always Request if possible #22

Open
christoph-werker opened this issue Jun 30, 2022 · 2 comments
Open

Include always Request if possible #22

christoph-werker opened this issue Jun 30, 2022 · 2 comments

Comments

@christoph-werker
Copy link

Is it possible to include the whole request? Sometimes I can't reproduce the error and it would help me a lot if I can pass the request as Object/Array.

@StuartCreed
Copy link

StuartCreed commented Jun 30, 2022

To always add extra specified data you can use the tap option in app/config/logging.php: https://stackoverflow.com/questions/65231760/in-laravel-can-i-set-a-default-context-for-the-log-facade

@StuartCreed
Copy link

You can pass an object/array as a context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants