-
Notifications
You must be signed in to change notification settings - Fork 32
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
Is TestLogger missing #57
Comments
Yeah, it's definitely not yet implemented. The extension was written against v1.0.0 of psr/log (IIRC the 1.0.x releases since then have been documentation-only). I also did not implement LoggerInterfaceTest as it extends a userland class from phpunit, and, while I wouldn't be surprised if it was possible, I'm not sure if an internal class extending a userland class is a good idea or worth the trouble, although I would be happy to hear someone disagree. I think that, on the above precedent, and that most likely TestLogger will only be used in userland test code and not in extensions, which this extension was intended to serve, that we should not implement the class and document that users should install psr/log if they need the test-related classes. cc @sergeyklay |
In general I agree with @jbboehr. In any case @Jean85 Is there any chance to move |
Moving the testlogger outside now, after a release, would break BC; not possible without bumping BTW, it's not part of the PSR, it's just an utility class useful for tests; I don't know if you should implement that. |
See php-fig/log#57
IIUC, this is not part of the PSR-3, but provided by the psr/log pure-PHP library
The text was updated successfully, but these errors were encountered: