First naive implementation of async logging: