adobe-photoshop / generator-core

Core Node.js library for Adobe Photoshop CC's Generator extensibility layer
MIT License
692 stars 97 forks source link

Remove direct console logging #407

Closed mcilroyc closed 6 years ago

mcilroyc commented 6 years ago

Anything logged via console.log (and debug, error, warn) will make its way to the Photoshop stdout which we don't want. The biggest change in this PR is to create the loggerManager in app.js and pass it to generator (where it previously lived). Smaller changes include using logger (instead of console) where it is was already more readily available.

baaygun commented 6 years ago

Looks good.