MCPcopy
hub / github.com/benoitc/gunicorn / MockLog

Class MockLog

benchmarks/dirty_streaming.py:102–121  ·  view source on GitHub ↗

Silent logger for benchmarks.

Source from the content-addressed store, hash-verified

100
101
102class 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
124def create_worker():

Callers 2

create_workerFunction · 0.70
create_arbiterFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected