Improve logging

This commit is contained in:
Michael Boelen 2016-07-31 20:58:29 +02:00
parent 039a829457
commit 1d2405cdaa
1 changed files with 4 additions and 4 deletions

View File

@ -107,7 +107,7 @@
;;
debug)
FIND=$(echo "${VALUE}" | egrep "^(1|true|yes)") && DEBUG=1
Debug "Debug mode set to ${DEBUG}"
Debug "Debug mode set to '${DEBUG}'"
AddSetting "debug" "${DEBUG}" "Debugging mode"
;;
@ -139,7 +139,7 @@
# Language
language | lang)
LogText "Language set via profile to ${VALUE}"
LogText "Language set via profile to '${VALUE}'"
if [ ! -z "${VALUE}" ]; then LANGUAGE="${VALUE}"; fi
AddSetting "language" "${LANGUAGE}" "Language"
;;
@ -179,7 +179,7 @@
# Plugin
plugin)
LogText "Plugin ${VALUE} enabled according profile ${PROFILE}"
LogText "Plugin '${VALUE}' enabled according profile (${PROFILE})"
;;
# Plugin directory
@ -394,7 +394,7 @@
#################################################################################
#
SKIP_TESTS=$(echo ${SKIP_TESTS} | sed "s/^ //")
LogText "Skip tests: ${SKIP_TESTS}"
if [ ! -z "${SKIP_TESTS}" ]; then LogText "Skip tests: ${SKIP_TESTS}"; fi
#
#################################################################################
#