New method `report(msg, className)` to inject into console stream.