Files
actions-runner-controller/test/startup/assets/logging.sh
T

19 lines
277 B
Bash
Raw Normal View History

#!/usr/bin/env bash
2021-08-02 10:11:48 +01:00
export LIGHTGREEN='\e[0;32m'
export LIGHTRED='\e[0;31m'
export WHITE='\e[0;97m'
export RESET='\e[0m'
log(){
printf "${WHITE}$@${RESET}\n" 2>&1
}
success(){
printf "${LIGHTGREEN}$@${RESET}\n" 2>&1
}
error(){
printf "${LIGHTRED}$@${RESET}\n" 2>&1
}