(Bug 48952) Show debug output in toolbar

The debug output written with the function wfDebugLog should  be
printed to the debug toolbar in the same way as wfDebug does.

Change-Id: Ib979df080332e16c8e0e6a89eab8741986ab39c3
Merge "(Bug 48952) Show debug output in toolbar"