Silent logger for benchmarks.
| 100 | |
| 101 | |
| 102 | class MockLog: |
| 103 | """Silent logger for benchmarks.""" |
| 104 | |
| 105 | def debug(self, msg, *args): |
| 106 | pass |
| 107 | |
| 108 | def info(self, msg, *args): |
| 109 | pass |
| 110 | |
| 111 | def warning(self, msg, *args): |
| 112 | pass |
| 113 | |
| 114 | def error(self, msg, *args): |
| 115 | pass |
| 116 | |
| 117 | def close_on_exec(self): |
| 118 | pass |
| 119 | |
| 120 | def reopen_files(self): |
| 121 | pass |
| 122 | |
| 123 | |
| 124 | def create_worker(): |
no outgoing calls
no test coverage detected