def logMessages(self, request):
    Level = api_backend.LogMessagesRequest.LogMessage.Level
    log = logging.getLogger(__name__)
    for message in request.messages:
      level = message.level if message.level is not None else Level.info



      record = logging.LogRecord(name=__name__, level=level.number, pathname='',
                                 lineno='', msg=message.message, args=None,
                                 exc_info=None)
      log.handle(record)

    return message_types.VoidMessage()
Add object coordinates as location XML element.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/endpoints/api_backend_service.py/BackendServiceImpl.logMessages--crossover with--dataset/ETHPy150Open coreemu/core/daemon/core/misc/xmlwriter0.py/CoreDocumentWriter0.addposition