Simple trace logging.