added HasAttrFilter
set app name to "appname" by default
log function return value as extra param