#32552: Change DiscoverRunner to use a logger instead of print
-------------------------------------+-------------------------------------
Reporter: Chris Jerdonek | Owner: nobody
Type: New feature | Status: new
Component: Testing framework | Version: 4.0
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
DiscoverRunner,print,logging,stdout,stderr|
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Chris Jerdonek):
By the way, I think the step after Daniyal's PR would be to change
`DiscoverRunner`'s constructor to accept an optional Python `logger`
object. Then, `DiscoverRunner.log()` could use that, if available, and
falling back to `print()` if `self.logger` isn't set.
--
Ticket URL: <https://code.djangoproject.com/ticket/32552#comment:10>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.f3cee5a5084932074fbb6cbe87b95249%40djangoproject.com.