github-cognito-openid-wrapper icon indicating copy to clipboard operation
github-cognito-openid-wrapper copied to clipboard

Allow configuration of log level

Open TimothyJones opened this issue 5 years ago • 0 comments

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.

TimothyJones avatar Oct 28 '19 06:10 TimothyJones