Log Conext Displayed with Log Calls #257
craftyshaun
started this conversation in
Ideas
Replies: 2 comments 5 replies
-
Good suggestion. I'll take a look at this soon. If you want to speed things up, you could already submit a PR that adds support for this. |
Beta Was this translation helpful? Give feedback.
1 reply
-
hi @craftyshaun, are you working on it? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When Ray returns log calls it would be nice to get the additional context
For example when ray reacts to the following in laravel
\Log::info('A Message','['context_1'=>true,'context_2'=>'A String']);
all that is retuned is 'A Message' along with the priority.It would be nice if the content was dumped along with the message as the context usually holds important information about the error
From my look at the code, this will require changes to
\Spatie\Ray\Payloads\ApplicationLogPayload
to accept context as well as a messageBeta Was this translation helpful? Give feedback.
All reactions