Create an asynchronouis logger thread that prints messages to standard
output once per second for the duration of the given action. Flushes stdout
on each bulk write.
Create a bulk logger that prints messages in the JSON format to standard
output once per second for the duration of the given action. Flushes stdout
on each bulk write.