logger
logger copied to clipboard
Do not show SyntheticEvent object
Hi.
Сan replace SyntheticEvent with a string symbol because logging an entire SyntheticEvent object causes lags in the browser.
Current behavior:
Expected:
☄️effector event
* → editRate('SyntheticEvent ')
I think configure method can be expanded to adjust logging details for some units Something like this:
const event = createEvent<HeavyPayload>()
configure(event, { payloadMap: heavyPayload => `HeavyPayload${heavyPayload.discriminator}` })