holmes/scripts/lib/logging
Andrew Mayorov 5d9418c702
Add a script for forced payment refund (#45)
* Add script for batch refund processing
2019-02-04 14:45:55 +03:00

22 lines
281 B
Plaintext

BW="\x1b[1;37m"
BR="\x1b[1;31m"
BY="\x1b[1;33m"
RS="\x1b[0m"
function err {
echo -e "${BR}[ERROR]${RS}" "${*}"
exit 127
}
function warn {
echo -e "${BY}[WARNING]${RS}" "${*}"
}
function info {
echo -e "${BW}[INFO]${RS}" "${*}"
}
function em {
echo "${BW}${*}${RS}"
}