add class version of _log (WDM fix)