use addTask directlry.
check logger member