void (@NotNull Project project, @NotNull Message message) { try { if (project instanceof DefaultProject) { reportMessageByProgressLogger((DefaultProject)project, message); } else { reportMessageByGlobalLogger(message); } } catch (Throwable e) { LOG.warn("Failed to report model builder message", e); } }