Address thread safety in TaskTracer logging.
Merge pull request #6 from CervantesYu/tt-dev

Address thread safety in TaskTracer logging.