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

untranslated callback, monolog integration #81

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rattuscz
Copy link

response to #80

My first attempt at extension so please feel free to criticize

@@ -100,6 +101,10 @@ public function loadConfiguration()
$catalogueCompiler->addSetup('enableDebugMode');
}

if ( $config['hookToMonolog'] && class_exists('\Monolog\Logger' ) ) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would rather depend on the PSR interface than on monolog.

@fprochazka
Copy link
Member

I might have told you a wrong way to solve this, should have thought about it more before I wrote it in the issue. I'm not sure I like this.
But apart from the coding style issues, you've done a good job! Let me just think about this for a bit.

@fprochazka fprochazka added this to the v3.0 milestone May 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants