[GH-ISSUE #116] ChromePHPHandler and Objects #37

Closed
opened 2026-03-04 02:11:35 +03:00 by kerem · 2 comments
Owner

Originally created by @awers on GitHub (Sep 10, 2012).
Original GitHub issue: https://github.com/Seldaek/monolog/issues/116

Hi! I unable to log objects using ChromePHPHandler, because you converting $message to a string. Can you please fix that? Thank you!

Originally created by @awers on GitHub (Sep 10, 2012). Original GitHub issue: https://github.com/Seldaek/monolog/issues/116 Hi! I unable to log objects using ChromePHPHandler, because you converting $message to a string. Can you please fix that? Thank you!
kerem closed this issue 2026-03-04 02:11:35 +03:00
Author
Owner

@Seldaek commented on GitHub (Sep 10, 2012):

You should pass objects into the $context array, message is supposed to be a string.

<!-- gh-comment-id:8436844 --> @Seldaek commented on GitHub (Sep 10, 2012): You should pass objects into the $context array, message is supposed to be a string.
Author
Owner

@awers commented on GitHub (Sep 10, 2012):

Sorry, missed that part.
Thanks!

<!-- gh-comment-id:8438000 --> @awers commented on GitHub (Sep 10, 2012): Sorry, missed that part. Thanks!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/monolog#37
No description provided.