Use logger for logging