Skip to content

Commit

Permalink
logger api fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nicity committed Nov 17, 2013
1 parent 735d44e commit 3ed903f
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@

import com.advancedtools.cpp.communicator.BuildingCommandHelper;
import com.advancedtools.cpp.communicator.CommunicatorCommand;
import com.advancedtools.cpp.facade.EnvironmentFacade;
import com.intellij.ide.DataManager;
import com.intellij.idea.LoggerFactory;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.editor.Editor;
import com.intellij.openapi.fileEditor.FileEditorManager;
import com.intellij.openapi.fileEditor.OpenFileDescriptor;
Expand Down Expand Up @@ -64,11 +62,11 @@ public void doExecute() {

FileEditorManager.getInstance(project).openTextEditor(descriptor, true);
} else {
LoggerFactory.getInstance().getLoggerInstance(getClass().getName()).error(
Logger.getInstance(getClass().getName()).error(
"Unexpected problem finding virtual file for "+tempFile.getPath());
}
} catch (IOException ex) {
LoggerFactory.getInstance().getLoggerInstance(getClass().getName()).error(ex);
Logger.getInstance(getClass().getName()).error(ex);
}
}

Expand Down

0 comments on commit 3ed903f

Please sign in to comment.