LogWork method added.