You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 16, 2019. It is now read-only.
OS: Windows 10 64-bit, Intel(R) Xeon(R) CPU E3-1535M v5
Summary
The Thread::globally() method does not exist anymore in v3. However, the change is not documented. The examples/stub.php file still includes this method (I use the stub.php for autocompletion).
Will the globally() method be implemented again or is it permanently removed? If so, is there a work around which achieve the same? I got some trouble with a log class. The log class should be able to log errors/exceptions/shutdown errors from all the different threads. I'm trying to write to an error file and to the console (if a console is detected). Both of the actual writers are implemented using Zend\Log.
The text was updated successfully, but these errors were encountered:
The documentation is out of date a little, it's a thing I plan to fix.
I'm closing the bug, but that doesn't end the conversation; If you want to show me some code (I'm not familiar with Zend\Log or \Zend) I'll be happy to suggest a better way :)
Environment
Summary
The
Thread::globally()
method does not exist anymore in v3. However, the change is not documented. The examples/stub.php file still includes this method (I use the stub.php for autocompletion).Will the
globally()
method be implemented again or is it permanently removed? If so, is there a work around which achieve the same? I got some trouble with a log class. The log class should be able to log errors/exceptions/shutdown errors from all the different threads. I'm trying to write to an error file and to the console (if a console is detected). Both of the actual writers are implemented using Zend\Log.The text was updated successfully, but these errors were encountered: