Revert "widgets: use widget log macro when possible"

This reverts commit 0be0cca296614465fb295054a60f405bdfc5ca1a.
log: add debug log class, update log format

Debug logging can be enabled with the --debug configure flag.