Commit 35e2fc46 by Eric Coissac

Cleaning too verbose debug logs

parent 93f47528
......@@ -44,20 +44,15 @@ function XML_push() {
shift
local attribs=( $(echo "$*") )
logdebug "before XML_pad"
__LECABASH__XML_pad__ $(stacksize __LECABASH__markup__)
logdebug "after XML_pad"
echo -n "<${tag}"
logdebug "after opening tag"
local n=${#attribs[@]}
logdebug "after counting attribs"
n=$((n/2))
logdebug "$n attributes specified"
logdebug "XML_push ${tag} : $n attributes specified"
if (( n > 0 )) ; then
logdebug "Some attributes must be written"
for (( i=0; i<n; i+=1 )) ; do
k=$((i*2))
l=$((k+1))
......@@ -65,8 +60,6 @@ function XML_push() {
shift
shift
done
else
logdebug "No attributes specified"
fi
echo ">"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment