Skip to content
This repository was archived by the owner on Apr 3, 2024. It is now read-only.

fix: use debuglet's logger in the controller.#1077

Merged
mctavish merged 5 commits intogoogleapis:firebase-backendfrom
mctavish:firebase-backend-dev
May 11, 2022
Merged

fix: use debuglet's logger in the controller.#1077
mctavish merged 5 commits intogoogleapis:firebase-backendfrom
mctavish:firebase-backend-dev

Conversation

@mctavish
Copy link
Copy Markdown
Contributor

This change will ensure consistent logging behaviour across the codebase.

@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: clouddebugger Issues related to the googleapis/cloud-debug-nodejs API. labels May 11, 2022
@codecov
Copy link
Copy Markdown

codecov bot commented May 11, 2022

Codecov Report

Merging #1077 (c6f7e45) into firebase-backend (dd61d35) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@                 Coverage Diff                  @@
##           firebase-backend    #1077      +/-   ##
====================================================
- Coverage             66.13%   66.11%   -0.02%     
====================================================
  Files                    21       21              
  Lines                  1751     1750       -1     
  Branches                352      352              
====================================================
- Hits                   1158     1157       -1     
  Misses                  510      510              
  Partials                 83       83              
Impacted Files Coverage Δ
src/agent/debuglet.ts 78.22% <100.00%> (ø)
src/agent/oneplatform-controller.ts 75.23% <100.00%> (-0.24%) ⬇️

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 dd61d35...c6f7e45. Read the comment docs.

@mctavish mctavish marked this pull request as ready for review May 11, 2022 18:48
@mctavish mctavish requested review from a team and jasonborg May 11, 2022 18:48
Copy link
Copy Markdown
Contributor

@jasonborg jasonborg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My only comment is I was expecting to see a similar change to pass the logger into the FirebaseController, but I see it uses 'const debuglog = util.debuglog('cdbg.firebase');'

We're ok with this for now?

@mctavish mctavish merged commit c236f35 into googleapis:firebase-backend May 11, 2022
@mctavish mctavish deleted the firebase-backend-dev branch May 11, 2022 18:54
@mctavish
Copy link
Copy Markdown
Contributor Author

mctavish commented May 11, 2022 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: clouddebugger Issues related to the googleapis/cloud-debug-nodejs API. size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants