From 7636f8cbab4372d0d0b6c85ddd514dc0ca6ba0de Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Sun, 10 Mar 2024 22:38:22 +0100 Subject: [PATCH] Update logging template --- buildtool.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/buildtool.sh b/buildtool.sh index f6a1427..c7468f7 100755 --- a/buildtool.sh +++ b/buildtool.sh @@ -26,27 +26,27 @@ function special() { } ## Informational (header) function infoh() { - echo -e "${BUILDTOOL_COLOR_RESET}:: ${*}" + echo -e "${BUILDTOOL_COLOR_RESET}[INFO] ${*}" } ## Informational (extension) function infoe() { - echo -e "${BUILDTOOL_COLOR_RESET} ${*}" + echo -e "${BUILDTOOL_COLOR_RESET} ${*}" } ## Warning (header) function warnh() { - echo -e "${BUILDTOOL_COLOR_WARN}:: Warning: ${*}${BUILDTOOL_COLOR_RESET}" + echo -e "${BUILDTOOL_COLOR_WARN}[WARN] ${*}${BUILDTOOL_COLOR_RESET}" } ## Warning (extension) function warne() { - echo -e "${BUILDTOOL_COLOR_WARN} ${*}${BUILDTOOL_COLOR_RESET}" + echo -e "${BUILDTOOL_COLOR_WARN} ${*}${BUILDTOOL_COLOR_RESET}" } ## Error (header) function errorh() { - echo -e "${BUILDTOOL_COLOR_ERROR}:: Error: ${*}${BUILDTOOL_COLOR_RESET}" + echo -e "${BUILDTOOL_COLOR_ERROR}[ERR!] ${*}${BUILDTOOL_COLOR_RESET}" } ## Error (extension) function errore() { - echo -e "${BUILDTOOL_COLOR_ERROR} ${*}${BUILDTOOL_COLOR_RESET}" + echo -e "${BUILDTOOL_COLOR_ERROR} ${*}${BUILDTOOL_COLOR_RESET}" } # Banner