Skip to content

Commit e6731a9

Browse files
karthiknadigeleanorjboyd
authored andcommitted
Use new logging API for python extension logger and LS logger (microsoft#21062)
In this PR: 1. Changes the python extension logging to use LogOutputChannel 2. Changes the language server logger with LogOutputChannel 3. Test output channel uses OutputChannel as it needs to show test output and not really logging. Also, using logging test output makes it pretty much unreadable. 4. Simplifies logging channel and output channel registration. We need to do this now to make it easier for new test work to integrate with output logging. For microsoft#20844 This still doesn't get rid of the log level setting.
1 parent c582b31 commit e6731a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/activation/node/analysisOptions.unit.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { NodeLanguageServerAnalysisOptions } from '../../../client/activation/no
99
import { ILanguageServerOutputChannel } from '../../../client/activation/types';
1010
import { IWorkspaceService } from '../../../client/common/application/types';
1111
import { PYTHON, PYTHON_LANGUAGE } from '../../../client/common/constants';
12-
import { ILogOutputChannel } from '../../../client/common/types';
12+
import { IExperimentService, ILogOutputChannel } from '../../../client/common/types';
1313

1414
suite('Pylance Language Server - Analysis Options', () => {
1515
class TestClass extends NodeLanguageServerAnalysisOptions {

0 commit comments

Comments
 (0)