JSDoc updates around logging