Update logging template

This commit is contained in:
JeremyStar™ 2024-03-10 22:38:22 +01:00
parent dcc9d988eb
commit 7636f8cbab

View file

@ -26,27 +26,27 @@ function special() {
} }
## Informational (header) ## Informational (header)
function infoh() { function infoh() {
echo -e "${BUILDTOOL_COLOR_RESET}:: ${*}" echo -e "${BUILDTOOL_COLOR_RESET}[INFO] ${*}"
} }
## Informational (extension) ## Informational (extension)
function infoe() { function infoe() {
echo -e "${BUILDTOOL_COLOR_RESET} ${*}" echo -e "${BUILDTOOL_COLOR_RESET} ${*}"
} }
## Warning (header) ## Warning (header)
function warnh() { function warnh() {
echo -e "${BUILDTOOL_COLOR_WARN}:: Warning: ${*}${BUILDTOOL_COLOR_RESET}" echo -e "${BUILDTOOL_COLOR_WARN}[WARN] ${*}${BUILDTOOL_COLOR_RESET}"
} }
## Warning (extension) ## Warning (extension)
function warne() { function warne() {
echo -e "${BUILDTOOL_COLOR_WARN} ${*}${BUILDTOOL_COLOR_RESET}" echo -e "${BUILDTOOL_COLOR_WARN} ${*}${BUILDTOOL_COLOR_RESET}"
} }
## Error (header) ## Error (header)
function errorh() { function errorh() {
echo -e "${BUILDTOOL_COLOR_ERROR}:: Error: ${*}${BUILDTOOL_COLOR_RESET}" echo -e "${BUILDTOOL_COLOR_ERROR}[ERR!] ${*}${BUILDTOOL_COLOR_RESET}"
} }
## Error (extension) ## Error (extension)
function errore() { function errore() {
echo -e "${BUILDTOOL_COLOR_ERROR} ${*}${BUILDTOOL_COLOR_RESET}" echo -e "${BUILDTOOL_COLOR_ERROR} ${*}${BUILDTOOL_COLOR_RESET}"
} }
# Banner # Banner