Flushes the stream.
(self)
| 417 | "A handler class which writes logging records to environ['wsgi.errors']." |
| 418 | |
| 419 | def flush(self): |
| 420 | """Flushes the stream.""" |
| 421 | try: |
| 422 | stream = cherrypy.serving.request.wsgi_environ.get('wsgi.errors') |
| 423 | except (AttributeError, KeyError): |
| 424 | pass |
| 425 | else: |
| 426 | stream.flush() |
| 427 | |
| 428 | def emit(self, record): |
| 429 | """Emit a record.""" |