Skip to content
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.

chore: adding component logger #62

Merged
merged 6 commits into from
May 18, 2021
Merged

chore: adding component logger #62

merged 6 commits into from
May 18, 2021

Conversation

obecny
Copy link
Member

@obecny obecny commented May 6, 2021

Adding component logger that will support namespace. New function to diag createComponentLogger.

Fixes #61

@codecov
Copy link

codecov bot commented May 6, 2021

Codecov Report

Merging #62 (b4d5e2c) into main (28fabc4) will increase coverage by 0.03%.
The diff coverage is 96.00%.

❗ Current head b4d5e2c differs from pull request most recent head dd0dbc0. Consider uploading reports for the commit dd0dbc0 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##             main      #62      +/-   ##
==========================================
+ Coverage   94.95%   94.99%   +0.03%     
==========================================
  Files          40       41       +1     
  Lines         535      559      +24     
  Branches       92       94       +2     
==========================================
+ Hits          508      531      +23     
- Misses         27       28       +1     
Impacted Files Coverage Δ
src/diag/types.ts 100.00% <ø> (ø)
src/diag/ComponentLogger.ts 95.23% <95.23%> (ø)
src/api/diag.ts 100.00% <100.00%> (ø)

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 28fabc4...dd0dbc0. Read the comment docs.

src/diag/types.ts Outdated Show resolved Hide resolved
src/diag/types.ts Outdated Show resolved Hide resolved
src/diag/ComponentLogger.ts Outdated Show resolved Hide resolved
@obecny obecny requested a review from dyladan May 11, 2021 20:28
@obecny obecny mentioned this pull request May 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Namespaces in diag / logger
4 participants