Add logger for debug messages