#!/usr/bin/bash echo "[LOG] doing thing" sleep 0.1 echo "[ERROR] failed doing thing" sleep 1 echo "[LOG]" sleep 0.1 echo "[ERROR]" sleep 1