Using the logger class in the logging spectator