figure out a way to shadow log class to verify the log output.