Update logging template
This commit is contained in:
parent
dcc9d988eb
commit
7636f8cbab
1 changed files with 6 additions and 6 deletions
|
@ -26,7 +26,7 @@ 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() {
|
||||||
|
@ -34,7 +34,7 @@ function infoe() {
|
||||||
}
|
}
|
||||||
## 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() {
|
||||||
|
@ -42,7 +42,7 @@ function warne() {
|
||||||
}
|
}
|
||||||
## 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() {
|
||||||
|
|
Loading…
Reference in a new issue