Le 28/4/16 à 10:13, Denis Kudriashov a écrit :
2016-04-27 20:50 GMT+02:00 stepharo <[email protected]
<mailto:[email protected]>>:
And you say let's replace this "log object context" information
with first class entities "typed signals". It means that for any
possible case when I want to put something in log I should create
class for new signal. It's just not practical.
why?
MySpecialLog
...
emit
What I am talking about is that I don't want create MySpecialLog for
any MySpecialDomainObject which I want to log.
I do not get it.
Inheritance is good and if you combine it with delegation you can rule
part of the world.
BasicLog
timeStamp
object:
MySpecialLog
what I want