New async_logger class and API