# @param ${11} argument 10
logmsg() {
local msgid="$1"
+
+ if [ ${#msgid} = 0 ]; then
+ echo "[bumsg.fnc#logmsg][error]Illegal argument: message id must be specified." 1>&2
+ return 101
+ fi
+
local strmsg="`getmsg \"$1\" \"$2\" \"$3\" \"$4\" \"$5\" \"$6\" \"$7\" \"$8\" \"$9\" \"${10}\" \"${11}\"`"
ismsgEnvSysout "${msgid}"
if [ ${#msgid} = 0 ]; then
echo "[bumsg.fnc#getmsg][error]Illegal argument: message id must be specified." 1>&2
- return 1
+ return 101
fi
local msgtextkey="`getmsgIdEnvKey ${msgid}`"
if [ ${#msgtextkeyString} = 0 ]; then
echo "[bumsg.fnc#getmsg][error]Message not found for ${msgtextkey}" 1>&2
- return 2
+ return 102
fi
local printfString=""