Update logging template
This commit is contained in:
parent
dcc9d988eb
commit
7636f8cbab
1 changed files with 6 additions and 6 deletions
12
buildtool.sh
12
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
|
||||
|
|
Reference in a new issue