bridgehead/lib/log.sh

8 lines
100 B
Bash
Raw Normal View History

#!/bin/bash
log() {
SEVERITY="$1"
shift
echo -e "$(date +'%Y-%m-%d %T')" "$SEVERITY:" "$@"
}