3 ms·
I would rather use Publisher-Subscriber pattern here. Everytime i want to "log", i'll send a "log" event. Publisher doesn't care it'll send to whom, because it'
by revskill 8y ago
I would rather use Publisher-Subscriber pattern here. Everytime i want to "log", i'll send a "log" event. Publisher doesn't care it'll send to whom, because it's not its responsibility.