(self, logger, log_level=logging.INFO)
| 62 | Fake file-like stream object that redirects writes to a logger instance. |
| 63 | """ |
| 64 | def __init__(self, logger, log_level=logging.INFO): |
| 65 | self.terminal = sys.stdout |
| 66 | self.logger = logger |
| 67 | self.log_level = log_level |
| 68 | self.linebuf = '' |
| 69 | |
| 70 | def __getattr__(self, attr): |
| 71 | return getattr(self.terminal, attr) |
nothing calls this directly
no outgoing calls
no test coverage detected