You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Doesn't show Contextual Information when outputting Logs.
Versions
Ray: 1.14
spatie/laravel-ray package version: 1.14
PHP version: 8.0.3
Laravel version: 8.12
To Reproduce ray(Log::error("Any Text", ['context' => 'info']));
This only outputs the error text
Expected behavior
I would expect to see the same as is in the laravel log. The log text and the Contextual Information.
e.g. [2021-03-12 22:57:18] local.ERROR: Any Text {"context":"info"}
Screenshots
Desktop (please complete the following information):
This discussion was converted from issue #364 on March 13, 2021 08:09.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Describe the bug
Doesn't show Contextual Information when outputting Logs.
Versions
PHP version: 8.0.3
Laravel version: 8.12
To Reproduce
ray(Log::error("Any Text", ['context' => 'info']));
This only outputs the error text
Expected behavior
I would expect to see the same as is in the laravel log. The log text and the Contextual Information.
e.g.
[2021-03-12 22:57:18] local.ERROR: Any Text {"context":"info"}
Screenshots
Desktop (please complete the following information):
Beta Was this translation helpful? Give feedback.
All reactions