@@ -63,7 +63,7 @@ private void loadExtensions() {
6363 IExtensionPoint extensionPoint = Platform .getExtensionRegistry ().getExtensionPoint (EXTENSION_POINT_ID );
6464
6565 if (extensionPoint == null ) {
66- Platform . getLog ( getClass ()). error ("No extension point found for ID " + EXTENSION_POINT_ID ); //$NON-NLS-1$
66+ LanguageServerPlugin . logError ("No extension point found for ID " + EXTENSION_POINT_ID ); //$NON-NLS-1$
6767 return ;
6868 }
6969
@@ -79,7 +79,7 @@ private void loadExtensions() {
7979 try {
8080 iconProvider = (SymbolIconProvider ) configurationElement .createExecutableExtension ("class" ); //$NON-NLS-1$
8181 } catch (CoreException | ClassCastException e ) {
82- Platform . getLog ( getClass ()). error ("Failed instantiating class " + className , e ); //$NON-NLS-1$
82+ LanguageServerPlugin . logError ("Failed instantiating class " + className , e ); //$NON-NLS-1$
8383 continue ;
8484 }
8585
@@ -110,7 +110,7 @@ private SymbolIconProvider getIconProvider(Object symbol) {
110110 try {
111111 fileName = Path .of (uri .getPath ()).getFileName ().toString ();
112112 } catch (Exception e ) {
113- Platform . getLog ( getClass ()). warn ("Failed to parse file name from URI " + uri , e ); //$NON-NLS-1$
113+ LanguageServerPlugin . logWarning ("Failed to parse file name from URI " + uri , e ); //$NON-NLS-1$
114114 return defaultIconProvider ;
115115 }
116116
@@ -151,7 +151,7 @@ private SymbolIconProvider getIconProvider(Object symbol) {
151151 try {
152152 return URI .create (uri );
153153 } catch (IllegalArgumentException e ) {
154- Platform . getLog ( getClass ()). warn ("Failed to parse URI " + uri , e ); //$NON-NLS-1$
154+ LanguageServerPlugin . logWarning ("Failed to parse URI " + uri , e ); //$NON-NLS-1$
155155 return null ;
156156 }
157157 }
0 commit comments