move AppLog version print to toHtml method