added the thread garbage collector; Logging.cpp and Logging.h