added client-side helper to get worker logs