Asynchronous logging module