use of com.intellij.diagnostic.logging.LogFilesManager in project intellij-community by JetBrains.
the class RunTab method initLogConsoles.
protected final void initLogConsoles(@NotNull RunProfile runConfiguration, @NotNull RunContentDescriptor contentDescriptor, @Nullable ExecutionConsole console) {
ProcessHandler processHandler = contentDescriptor.getProcessHandler();
if (runConfiguration instanceof RunConfigurationBase) {
RunConfigurationBase configuration = (RunConfigurationBase) runConfiguration;
if (myManager == null) {
myManager = new LogFilesManager(myProject, getLogConsoleManager(), contentDescriptor);
}
myManager.addLogConsoles(configuration, processHandler);
if (processHandler != null) {
OutputFileUtil.attachDumpListener(configuration, processHandler, console);
}
}
}
Aggregations