make console log async