-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Allow Log in Safe methods #2783
Conversation
From a purist POV safe methods are supposed to be free of any side-effects and logging is a side-effect. But practically #2782 is a problem and I don't see how this could be misused, so probably it's OK to allow logging in safe methods. |
I agree. |
Log's side-effects depend on the plugin that uses it, because the core itself doesn't do it, so it's safe, until it stops being safe for a third party, which would be the third party's problem, I understand what you're saying but the the problem with not changing it is making error handling in Any alternative? |
|
But |
|
It matter because the developer expect to end the execution, so undesired results may happen |
It's a safe method. It doesn't matter if the execution is ended or not. |
Close #2782