Added flush command to HtmlLogger plugin