Update TaskManager.h
fix bug: taskqueue thread not start
improve log library