``` scala val obj = json(x = 5) logger.info(s"obj 1",obj) // not printing obj in console dom.window.console.log(s"obj 2 ",obj) // working fine ```