Hi, > On Apr 28, 2016, at 2:36 PM, Denis Kudriashov <[email protected]> wrote: > > > 2016-04-28 11:07 GMT+02:00 Tudor Girba <[email protected]>: > But anyway with Trait you can't add timestamp to your domain object which is > always required for logs (I think we all agree about timestamp). > > We can indeed agree on timestamp, but as Sven said, we might need flexibility > on how to capture it (DateAndTime vs ZTimestamp). > > Domain objects can supply own timestamp to log entries.
I do not understand this point. Could you clarify? > But both kinds of time should be polimorphic in some cases. Certainly. > By the way why we need multiple timestamp representation in system? Can we > choose best option and use it anywhere? (But this question is not for this > topic) Indeed, we know that we do not need both, but someone has to clean them up :). In any case, in some cases you might want a certain precision even if it costs, and in others you do not. So, having the initialization of the timestamp factored out would be a good thing. Cheers, Doru -- www.tudorgirba.com www.feenk.com "Obvious things are difficult to teach."
