2016-04-28 10:13 GMT+02:00 Denis Kudriashov <[email protected]>:

>
> 2016-04-27 20:50 GMT+02:00 stepharo <[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.
>

Traits?

Put you logging api in a Trait instead of Object and let your
MySpecialDomainObject use this trait ?

Reply via email to