The log level is currently hard-coded in `logger.js`. An improvement would be to allow this to be configured without code changes. The approach used in https://github.com/TimothyJones/github-cognito-openid-wrapper/pull/17 is nice, where the deployment stage and `SLS_DEBUG` state can also inform the log level.
The log level is currently hard-coded in
logger.js. An improvement would be to allow this to be configured without code changes.The approach used in #17 is nice, where the deployment stage and
SLS_DEBUGstate can also inform the log level.