1
0
Fork 0

more toned down colors

This commit is contained in:
Christian Winther 2024-01-17 14:50:29 +00:00
parent 9ad04a285a
commit 90c9d8b5a6
1 changed files with 4 additions and 4 deletions

View File

@ -154,7 +154,7 @@ function log-error() {
log-error-and-exit "[${FUNCNAME[0]}] did not receive any input arguments and STDIN is empty"
fi
echo -e "${error_message_color}${log_prefix}ERROR - ${msg}${color_clear}" >/dev/stderr
echo -e "${error_message_color}${log_prefix}ERROR -${color_clear} ${msg}" >/dev/stderr
}
# @description Print the given error message to stderr and exit 1
@ -183,7 +183,7 @@ function log-warning() {
log-error-and-exit "[${FUNCNAME[0]}] did not receive any input arguments and STDIN is empty"
fi
echo -e "${warn_message_color}${log_prefix}WARNING - ${msg}${color_clear}" >/dev/stderr
echo -e "${warn_message_color}${log_prefix}WARNING -${color_clear} ${msg}" >/dev/stderr
}
# @description Print the given message to stdout unless [ENTRYPOINT_QUIET_LOGS] is set
@ -201,7 +201,7 @@ function log-info() {
fi
if [ -z "${ENTRYPOINT_QUIET_LOGS:-}" ]; then
echo -e "${notice_message_color}${log_prefix}${msg}${color_clear}"
echo -e "${notice_message_color}${log_prefix}${color_clear}${msg}"
fi
}
@ -220,7 +220,7 @@ function log-info-stderr() {
fi
if [ -z "${ENTRYPOINT_QUIET_LOGS:-}" ]; then
echo -e "${notice_message_color}${log_prefix}${msg}${color_clear}" >/dev/stderr
echo -e "${notice_message_color}${log_prefix}${color_clear}${msg}" >/dev/stderr
fi
}