New method `report(msg, className)` allows external access to inject output into the console stream.