Automatic Log Clearing Configuration #330
vildanbina
started this conversation in
Ideas
Replies: 2 comments
-
@vildanbina . Currently, we can add 'ds()->clear();' command at the beginning of the requests, which solves it. But I'm thinking about toggling the app to "pause" the dumps. What do you think? |
Beta Was this translation helpful? Give feedback.
0 replies
-
@luanfreitasdev both options would be useful.
Thank you |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
🛻 LaraDumps Feature Request
Summary
I'm interested in whether there is a feature to automatically clear logs after each request to maintain a clean development environment.
Why is this needed?
During development, logs can quickly accumulate and clutter the logging output, making it difficult to track recent and relevant entries. Having a way to automatically clear logs after each request would help in maintaining a clean log state, improving the readability and manageability of log data.
Suggested Solution(s)
I suggest implementing a configurable option in the LaraDumps settings that allows developers to enable or disable automatic log clearing after each request. This could be a simple boolean configuration in the LaraDumps config file.
Related issue(s)/PR(s)
As of now, I am not aware of any related issues or pull requests. This feature request could serve as a starting point for further discussion and implementation.
Beta Was this translation helpful? Give feedback.
All reactions