Added simple async logger functionality.