Skip to content

Factory handles logging of stdClass structure#8

Open
jspetrak wants to merge 1 commit into
greeny:masterfrom
jspetrak:patch/log-stdclass
Open

Factory handles logging of stdClass structure#8
jspetrak wants to merge 1 commit into
greeny:masterfrom
jspetrak:patch/log-stdclass

Conversation

@jspetrak
Copy link
Copy Markdown

No description provided.

@greeny
Copy link
Copy Markdown
Owner

greeny commented Jun 11, 2018

Looks nice. The only thing I am worried about is that if you have big stdClass, then the message would be super long. I think we should handle this case by truncating the print_r output somehow (you will not read the whole thing in Slack anyway, it only serves notification purpose).

Oh and also picky me - please add use stdClass to match rest of the code style :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants