LogUtility is a lightweight UE module for the Voxta plugin, focused on standardizing logging capabilities, particularly for handling sensitive information. Due to target audience for Voxta, most user-input or LLM generated output is not appropriate to be contained in analytics, logging, crashlogs, etc. This module streamlines the censorship of such info.
The LogUtility module is designed to be minimal and self-contained, with dependencies only on the Core module of Unreal Engine. It consists of the following key files:
Public/Defines.h
: C++ logging macros
The primary feature of LogUtility is its sensitive data handling system that allows:
Sensitive logging can be configured through the SensitiveLogging
namespace:
isSensitiveLogsCensored
- Controls whether sensitive data is censored (default: true)CENSORED_TEXT_CONTENT
- The text used to replace censored informationThe module provides several macros for logging sensitive information:
Uses the old UE_LOG macro internally, good for support with pre-UE-5.2 logging.
Uses the new UE_LOGFMT macro, supported from UE-5.2 and later.
For all SENSITIVE_LOG variants, if censoring is enabled, all parameters will be replaced with "****censored****":
Core
MIT license - copyright (c) 2025 grrimgrriefer & DZnnah. See LICENSE in root for details.