Updating the proposed LogData function to use an increasingly numeric value logging. This allows for better localization and increased flexibility.