Newly generate codemod doesn't come with logger. I dug into [ember-codemods](https://github.com/ember-codemods), looking for a standard way to log errors and warnings. I found several ways to achieve it: 1. Use pure nodejs https://github.com/ember-codemods/ember-data-codemod/blob/master/transforms/globals-to-ember-data-imports/index.js#L6 2. Use winston https://github.com/ember-codemods/ember-angle-brackets-codemod/blob/master/lib/logger.js 3. Use console https://github.com/ember-codemods/ember-component-template-colocation-migrator/blob/master/lib/utils/file.js#L8 4. Use console with SilentError pattern https://github.com/ember-codemods/tagless-ember-components-codemod/commit/491cfa20d403fea047882989f07d23844b2b231d What's your recommendation on this? Do you think a default logger should be generate too?
Newly generate codemod doesn't come with logger.
I dug into ember-codemods, looking for a standard way to log errors and warnings.
I found several ways to achieve it:
Use pure nodejs
https://github.com/ember-codemods/ember-data-codemod/blob/master/transforms/globals-to-ember-data-imports/index.js#L6
Use winston
https://github.com/ember-codemods/ember-angle-brackets-codemod/blob/master/lib/logger.js
Use console
https://github.com/ember-codemods/ember-component-template-colocation-migrator/blob/master/lib/utils/file.js#L8
Use console with SilentError pattern
ember-codemods/tagless-ember-components-codemod@491cfa2
What's your recommendation on this? Do you think a default logger should be generate too?