#!/usr/bin/env bash #Usage: log "Hello World!" LOG_FORMAT="%Y-%m-%d %H:%M:%S %Z" log() { echo -e "[$(date +"${LOG_FORMAT}")] $1"; }