Added define for logging.