console logging.