mirror of
https://github.com/natelandau/shell-scripting-templates.git
synced 2025-11-10 14:13:45 -05:00
verbose logging is now debug
This commit is contained in:
@@ -117,7 +117,7 @@ function header() { local _message="========== ${@} ========== "; echo "$(_
|
|||||||
# Log messages when verbose is set to "1"
|
# Log messages when verbose is set to "1"
|
||||||
verbose() {
|
verbose() {
|
||||||
if [ "${verbose}" == "1" ]; then
|
if [ "${verbose}" == "1" ]; then
|
||||||
info "$@"
|
debug "$@"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user