diff --git a/scripts/utilities.sh b/scripts/utilities.sh index 0e4e842..14041fe 100644 --- a/scripts/utilities.sh +++ b/scripts/utilities.sh @@ -92,17 +92,17 @@ function init_logfile() { function log_info() { local message="${1}" log="${LOGFILE}" - echo -e "$(timestamp) ${message}" | tr -s " " >> "${log}" + echo -e "$(timestamp) [INFO]: ${message}" | tr -s " " >> "${log}" } function log_warning() { local message="${1}" log="${LOGFILE}" - echo -e "$(timestamp) ${message}" | tr -s " " >> "${log}" + echo -e "$(timestamp) [WARN]: ${message}" | tr -s " " >> "${log}" } function log_error() { local message="${1}" log="${LOGFILE}" - echo -e "$(timestamp) ${message}" | tr -s " " >> "${log}" + echo -e "$(timestamp) [ERR]: ${message}" | tr -s " " >> "${log}" } #================================================#