Add class (or #inspect output in debug mode) to log messages