3 ms·
In asynchronous apps it could be better to log both, before and after. You don't know what will be possible logged in the maentime. With info and success level
by progx 5y ago
In asynchronous apps it could be better to log both, before and after.
You don't know what will be possible logged in the maentime.
With info and success level you could log info before and success after execution.
In dev mode you show info, in production you could filter success.