openid / OpenYOLO-Web

Web protocol for credential exchange and update - "You Only Login Once"
http://openid.net/wg/ac/
Apache License 2.0
100 stars 16 forks source link

Add the ability to set custom log levels #45

Closed tikurahul closed 7 years ago

tikurahul commented 7 years ago

This adds a new API setLogLevel(...) which helps us control the extent to which we log.

The default log level is set to LogLevel.WARN.

codecov-io commented 7 years ago

Codecov Report

Merging #45 into master will increase coverage by 0.06%. The diff coverage is 88.34%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #45      +/-   ##
=========================================
+ Coverage   91.34%   91.4%   +0.06%     
=========================================
  Files          34      36       +2     
  Lines        1456    1525      +69     
  Branches      178     187       +9     
=========================================
+ Hits         1330    1394      +64     
- Misses        126     131       +5
Impacted Files Coverage Δ
ts/api/navigator_credentials.ts 90.81% <0%> (-1.9%) :arrow_down:
ts/api/verify.ts 100% <100%> (ø) :arrow_up:
ts/protocol/secure_channel.ts 91.6% <100%> (+0.06%) :arrow_up:
ts/api/base_request.ts 98.52% <100%> (+0.02%) :arrow_up:
ts/protocol/data.ts 100% <100%> (ø) :arrow_up:
ts/protocol/rpc_messages.ts 100% <100%> (ø) :arrow_up:
ts/protocol/validators.ts 98.36% <100%> (+0.05%) :arrow_up:
ts/api/api.ts 93.01% <100%> (+0.35%) :arrow_up:
ts/api/set_log_level_request.ts 100% <100%> (ø)
ts/spi/ancestor_origin_verifier.ts 84.31% <100%> (+0.31%) :arrow_up:
... and 5 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f3140b2...19b13d6. Read the comment docs.