@@ -18,7 +18,6 @@ import { JavaDebugAdapterDescriptorFactory } from "./javaDebugAdapterDescriptorF
1818import { JavaInlineValuesProvider } from "./JavaInlineValueProvider" ;
1919import { logJavaException , logJavaInfo } from "./javaLogger" ;
2020import { IMainClassOption , IMainMethod , resolveMainMethod } from "./languageServerPlugin" ;
21- import { logger , Type } from "./logger" ;
2221import { mainClassPicker } from "./mainClassPicker" ;
2322import { pickJavaProcess } from "./processPicker" ;
2423import { IProgressReporter } from "./progressAPI" ;
@@ -37,12 +36,8 @@ export async function activate(context: vscode.ExtensionContext): Promise<any> {
3736}
3837
3938function initializeExtension ( _operationId : string , context : vscode . ExtensionContext ) : any {
40- // Deprecated
41- logger . initialize ( context , true ) ;
42-
4339 registerDebugEventListener ( context ) ;
4440 registerVariableMenuCommands ( context ) ;
45- context . subscriptions . push ( logger ) ;
4641 context . subscriptions . push ( vscode . window . registerTerminalLinkProvider ( new JavaTerminalLinkProvder ( ) ) ) ;
4742 context . subscriptions . push ( vscode . debug . registerDebugConfigurationProvider ( "java" , new JavaDebugConfigurationProvider ( ) ) ) ;
4843 context . subscriptions . push ( vscode . debug . registerDebugAdapterDescriptorFactory ( "java" , new JavaDebugAdapterDescriptorFactory ( ) ) ) ;
@@ -115,9 +110,6 @@ function registerDebugEventListener(context: vscode.ExtensionContext) {
115110 } else {
116111 logJavaInfo ( commonProperties , measureProperties ) ;
117112 }
118-
119- // Deprecated
120- logger . log ( entry . scope === "exception" ? Type . EXCEPTION : Type . USAGEDATA , commonProperties , measureProperties ) ;
121113 } ) ;
122114 }
123115 } ) ;
0 commit comments