added log function, param values unescaped