refactor(hint-log): refactor logFormattedMessages to appropriately handle messages from Hint Interpolation