Cool pattern using Mongoose statics for logging 😎
Also good for Locality of Behavior
All notifications, etc. are in the function, instead of some event layer indirection
Makes testing easier: the `if (isTest)` bit makes it so that `await Log.sideEffect()` waits for the result if NODE_ENV === 'test'