Rename colors.sh -> logger.sh

This commit is contained in:
Andreas Dangel
2018-05-24 19:20:12 +02:00
parent 281f151197
commit 19d65171bd
6 changed files with 5 additions and 5 deletions

18
.travis/logger.sh Normal file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
COL_GREEN="\e[32m"
COL_RED="\e[31m"
COL_RESET="\e[0m"
COL_YELLOW="\e[33;1m"
function log_error() {
echo -e "${COL_RED}[ERROR] $*${COL_RESET}"
}
function log_info() {
echo -e "${COL_YELLOW}[INFO] $*${COL_RESET}"
}
function log_success() {
echo -e "${COL_GREEN}[SUCCESS] $*${COL_RESET}"
}