Langchain log api calls. Uses async, supports batching and streaming.