mirror of
https://github.com/Seldaek/monolog.git
synced 2026-04-26 08:05:53 +03:00
[GH-ISSUE #180] RedisHandler trying to store an array? #58
Labels
No labels
Bug
Documentation
Feature
Needs Work
Support
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/monolog#58
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dubcanada on GitHub (Apr 9, 2013).
Original GitHub issue: https://github.com/Seldaek/monolog/issues/180
Hello,
I have a very simple RedisHandler setup with no formatters. I am trying to do the following...
However all it stores is
Is there anyway to store an array? Is it because of the way it is setup?
Sorry if this is a weird question, it just seems something like redis should be able to store arrays/objects extremely easily.
@Seldaek commented on GitHub (Apr 10, 2013):
The message is supposed to be a string. If you want to send arrays or anything else really, you can pass it in the context argument. e.g.
->addError('something went wrong', array('foo' => 'bar')).