attach static method

void Function() attach()

Logs every emitted effect. Registers an observer that coexists with others; calling it again has no additional effect. The returned function unregisters it.

Implementation

static void Function() attach() => JObserver.addObserver(_observer);