logging for value objects