b002fe6880654fbdad97b4fc647.../README.md
2025-08-25 15:25:30 +00:00

354 B

t logging

Configure the logginglogging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')

def main(request): logging.info(f"Function called with request: {request}")

data = request.get_json(force=True)

logging.info(f"Received data: {data}") return {"result": data.get("a", 0)+data.get("b", 0)}# python hello-world