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

Psr log levels support #6

Merged
merged 3 commits into from Dec 13, 2017

Conversation

Projects
None yet
2 participants
@ilyaplot
Copy link
Contributor

commented Dec 13, 2017

No description provided.

Илья Плотников and others added some commits Dec 13, 2017

Илья Плотников
@@ -71,7 +71,7 @@ public function export()
}
}
$this->getLogger()->log($this->_psrLevels[$message[1]], $text, $context);
$this->getLogger()->log(isset($this->_psrLevels[$message[1]]) ? $this->_psrLevels[$message[1]] : $message[1], $text, $context);

This comment has been minimized.

Copy link
@samdark

samdark Dec 13, 2017

Owner

That would allow writing anything into level, not only Yii levels and PSR levels. I don't think it is correct.

@samdark samdark merged commit b274c25 into samdark:master Dec 13, 2017

1 check failed

continuous-integration/travis-ci/pr The Travis CI build failed
Details
@samdark

This comment has been minimized.

Copy link
Owner

commented Dec 13, 2017

Merged. Thank you!

@samdark samdark added this to the 1.0.4 milestone Dec 13, 2017

@samdark samdark added the enhancement label Dec 13, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.