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

Multi-line strings written to logs cause error in parsing #2

Closed
tobimori opened this issue Dec 4, 2023 · 1 comment
Closed

Multi-line strings written to logs cause error in parsing #2

tobimori opened this issue Dec 4, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@tobimori
Copy link

tobimori commented Dec 4, 2023

CleanShot 2023-12-04 at 23 34 27@2x
I'm logging an error message here with $e->getMessage() which contains newlines and those are written to the log as well.

CleanShot 2023-12-04 at 23 35 14@2x
However, when loading the Logger view in the panel, it seems to fail loading.

@martyf
Copy link
Contributor

martyf commented Dec 5, 2023

Please update to 1.0.3 which resolves this issue.

Your log entry will be preserved on a single line, and it is your responsibility as the developer to ensure line breaks are preserved at the template level as required.

@martyf martyf closed this as completed Dec 5, 2023
@martyf martyf added the bug Something isn't working label Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants