Add API docs for the logger.