Extracting lazy debug logging methods into their own class.