Debug to use Logger class correctly.