Added SetupListener in Logger class.