[NOBTS] add ThreadDataLogger

Rewrite this class to write a meaningful log for JUnit test running.