Tamarin/lib/util.sh

19 lines
251 B
Bash

#!/usr/bin/env bash
function info {
echo "[${HOSTNAME}] [INFO] $@"
}
function debug {
echo "[${HOSTNAME}] [DEBUG] $@"
}
function error {
echo "[${HOSTNAME}] [ERROR] $@" >&2
}
function fatal {
echo "[${HOSTNAME}] [FATAL] $@" >&2
exit 1
}