def _put_log_lines(self, lines):
    db_models = []

    for app_log in lines:
      db_log_line = _LogLine(time=app_log.timestamp_usec(),
                             level=app_log.level(),
                             message=app_log.message())
      db_models.append(db_log_line)

    return db.put(db_models)
Implements put_log_lines if called by _run_in_namespace.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/logservice/logservice_stub.py/LogServiceStub._put_log_lines