Examples of logMessage()


Examples of com.salesforce.ide.core.remote.metadata.DeployMessageExt.logMessage()

        if (deployResultHandler != null && !deployResultHandler.isSuccess()) {
            StringBuffer strBuff = new StringBuffer("Deployment FAILED.  ");
            DeployMessageExt messageHandler = deployResultHandler.getMessageHandler();
            if (messageHandler != null) {
                messageHandler.logMessage(strBuff, false);
            }
            logger.warn(strBuff.toString());
        }

        return result;
View Full Code Here

Examples of com.salesforce.ide.core.remote.metadata.RetrieveMessageExt.logMessage()

            strBuff.append("'");
            logger.debug(getFilePathLog(strBuff.toString(), resultExt.getZipFile()));

            RetrieveMessageExt messageHandler = resultExt.getMessageHandler();
            if (messageHandler != null) {
                messageHandler.logMessage();
            }
        } else if (logger.isInfoEnabled()) {
            int zipFileSize = 0;
            if (Utils.isNotEmpty(resultExt.getZipFile())) {
                zipFileSize = resultExt.getZipFile().length;
View Full Code Here

Examples of de.danet.an.util.logging.RequestScope.logMessage()

  ExtApplication.InvocationResult res = null;
  RequestScope scope = RequestLog.enterScope
      (ApplInvokerEJB.class, "doInvoke",
       new Object[] { wfe,invHlp,act,appl,params,new Boolean(useNew) });
  if (RequestLog.isEnabled()) {
      scope.logMessage
          ("Invoking " + appl.toString() + "from " + act.toString()
           + " with parameters " + params.toString());
  }
  try {
      // Invoke in separate transaction. Else all exceptions
View Full Code Here

Examples of de.danet.an.util.logging.RequestScope.logMessage()

            }
        }
    }
      }
           if (RequestLog.isEnabled()) {
               scope.logMessage
                   ("Result is: " + (res == null ? "null" : res.toString()));
           }
        } catch (RemoteException e) {
            // Indicates that the invocation should be retried,
            // simply re-throw.
View Full Code Here

Examples of nz.govt.natlib.meta.log.FileLogger.logMessage()

      if (!file.exists()) {
        file.createNewFile();
      }
      FileLogger logger = new FileLogger(file);
      for (int i = 0; i < viewModel.getRowCount(); i++) {
        logger.logMessage((LogMessage) viewModel.getRow(i));
      }
      logger.close();
      LogMessage msg = new LogMessage(LogMessage.WORTHLESS_CHATTER, null,
          "Saved logfile: " + file, "");
      LogManager.getInstance().logMessage(msg);
View Full Code Here

Examples of org.neo4j.kernel.impl.util.StringLogger.logMessage()

            {
                if ( getConfig() != null )
                {
                    String storeDir = (String) getConfig().get( "store_dir" );
                    StringLogger msgLog = StringLogger.getLogger( storeDir );
                    msgLog.logMessage( getStorageFileName() + " non clean shutdown detected", true );
                }
            }
        }
       
        setWindowPool( new PersistenceWindowPool( getStorageFileName(),
View Full Code Here

Examples of org.openquark.cal.compiler.CompilerMessageLogger.logMessage()

        // Init and compile the workspace.
        Status initStatus = new Status("Init status.");
        workspaceManager.initWorkspace(streamProvider, initStatus);
       
        if (initStatus.getSeverity() != Status.Severity.OK) {
            ml.logMessage(initStatus.asCompilerMessage());
        }
       
        long startCompile = System.currentTimeMillis();
       
        // If there are no errors go ahead and compile the workspace.
View Full Code Here

Examples of org.openquark.cal.compiler.CompilerMessageLogger.logMessage()

                // Init and compile the workspace.
                Status initStatus = new Status("Init status.");
                workspaceManager.initWorkspace(streamProvider, initStatus);
               
                if (initStatus.getSeverity() != Status.Severity.OK) {
                    ml.logMessage(initStatus.asCompilerMessage());
                }
            }
           
            ModuleLoadListener moduleLoadListener = new ModuleLoadListener();
           
View Full Code Here

Examples of org.openquark.cal.compiler.CompilerMessageLogger.logMessage()

                        // Note: The code generation could potentially have failed because a foreign type or a foreign function's corresponding Java entity
                        // could not be resolved. (In this case the CodeGenerationException would be wrapping an UnableToResolveForeignEntityException)
                       
                        final Throwable cause = e.getCause();
                        if (cause instanceof UnableToResolveForeignEntityException) {
                            generateLogger.logMessage(((UnableToResolveForeignEntityException)cause).getCompilerMessage());
                        }
                       
                        // Code generation aborted. Error generating code for: {cl.getQualifiedName()}
                        generateLogger.logMessage(new CompilerMessage(new MessageKind.Error.CodeGenerationAborted(gmf.getQualifiedName().getQualifiedName()), e));
                    } catch (CompilerMessage.AbortCompilation e2) {/* Ignore exceptions generated by the act of logging. */}
 
View Full Code Here

Examples of org.openquark.cal.compiler.CompilerMessageLogger.logMessage()

                        if (cause instanceof UnableToResolveForeignEntityException) {
                            generateLogger.logMessage(((UnableToResolveForeignEntityException)cause).getCompilerMessage());
                        }
                       
                        // Code generation aborted. Error generating code for: {cl.getQualifiedName()}
                        generateLogger.logMessage(new CompilerMessage(new MessageKind.Error.CodeGenerationAborted(gmf.getQualifiedName().getQualifiedName()), e));
                    } catch (CompilerMessage.AbortCompilation e2) {/* Ignore exceptions generated by the act of logging. */}
                    return generateLogger.getMaxSeverity();
                }
            }

View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.