It is a bit verbose. Could you allow a syntax like:
logger.log_error("internal server error", {{"http.method", "GET"}, {"http.path", "/"}, {"http.status", 500}} );