Add a logger for verbose mode.