Skip to content

Conversation

roblourens
Copy link
Member

Add a "verbose" logging level
Fix #6468

@roblourens roblourens requested a review from a team as a code owner August 21, 2021 02:02
@roblourens roblourens self-assigned this Aug 21, 2021
@codecov-commenter
Copy link

codecov-commenter commented Aug 21, 2021

Codecov Report

Merging #7219 (12b9eda) into main (4cd4268) will decrease coverage by 0%.
The diff coverage is 54%.

@@          Coverage Diff          @@
##            main   #7219   +/-   ##
=====================================
- Coverage     64%     64%   -1%     
=====================================
  Files        360     360           
  Lines      22564   22541   -23     
  Branches    3401    3395    -6     
=====================================
- Hits       14637   14619   -18     
+ Misses      6628    6625    -3     
+ Partials    1299    1297    -2     
Impacted Files Coverage Δ
src/client/common/configSettings.ts 85% <0%> (-1%) ⬇️
src/client/common/types.ts 100% <ø> (ø)
src/client/debugger/jupyter/kernelDebugAdapter.ts 6% <20%> (-1%) ⬇️
src/client/extensionActivation.ts 98% <100%> (+<1%) ⬆️
src/client/logging/_global.ts 76% <100%> (ø)
src/client/datascience/notebook/notebookEditor.ts 28% <0%> (-8%) ⬇️
src/client/common/application/applicationShell.ts 18% <0%> (-5%) ⬇️
src/client/common/application/notebook.ts 78% <0%> (-4%) ⬇️
...tascience/jupyter/kernels/kernelCommandListener.ts 55% <0%> (-3%) ⬇️
...lient/datascience/jupyter/kernels/cellExecution.ts 67% <0%> (-1%) ⬇️
... and 7 more

Add a "verbose" logging level
Fix #6468
@@ -186,7 +186,7 @@ export interface IWatchableJupyterSettings extends IJupyterSettings {
readonly onDidChange: Event<void>;
}

export type LoggingLevelSettingType = 'off' | 'error' | 'warn' | 'info' | 'debug';
export type LoggingLevelSettingType = 'off' | 'error' | 'warn' | 'info' | 'debug' | 'verbose';
Copy link
Contributor

Choose a reason for hiding this comment

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

I personally think we should clean all of this, I don't know if anyone uses them. Feels rather redundant to have warn|info|debug, I think off|error|verbose are sufficient.

Copy link
Contributor

Choose a reason for hiding this comment

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

Something for debt week

@roblourens roblourens merged commit 9ffbdae into main Aug 23, 2021
@roblourens roblourens deleted the roblou/debugLogs branch August 23, 2021 18:27
joyceerhl pushed a commit that referenced this pull request Aug 23, 2021
Add a "verbose" logging level
Fix #6468
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Log Debug Adapter traffic
4 participants