Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Ability to pass objects into Mage log for custom log writers. #89

Closed
floppa opened this issue Sep 27, 2012 · 1 comment
Closed

Comments

@floppa
Copy link

floppa commented Sep 27, 2012

When creating own log writers it would be really useful to be able to pass objects into mage log, this extra useful when not using a file based log.

the problem is that a check is made to see if the message is a object and if so it does a print_r to make it to string but at the same destroying the possibility to use it later.

You can get around it right now by temporarily store the log data and catch in the log writer but it isn't as nice that it could be.

@magento-team
Copy link
Contributor

Thank you for the suggestion.
Providing a code contribution along with tests will highly increase the chance of getting this suggestion included in Magento 2 core code.

vpelipenko added a commit that referenced this issue Feb 13, 2015
okorshenko pushed a commit that referenced this issue Jun 12, 2016
magento-engcom-team added a commit that referenced this issue Mar 15, 2018
 - Merge Pull Request magento-engcom/php-7.2-support#89 from magento-engcom/php-7.2-support:update-zend-feed
 - Merged commits:
   1. b73d1c8
magento-engcom-team pushed a commit that referenced this issue Jun 21, 2018
…-Category

[architects] MAGETWO-92773: [GraphQL] Products cannot be fetched in parent/anchor category #89
magento-engcom-team pushed a commit that referenced this issue Oct 12, 2019
Rebasing MC-19451 with the changes of MC-19450-elastic branch
magento-devops-reposync-svc pushed a commit that referenced this issue Mar 15, 2023
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

No branches or pull requests

2 participants