def log_buffer_contents():
  return logs_buffer().contents()
L{Request.stopWriting} calls its body producer's C{stopProducing}
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/logservice/logservice.py/log_buffer_contents--crossover with--dataset/ETHPy150Open twisted/twisted/twisted/web/test/test_newclient.py/RequestTests.test_stopWriting