Examples of log()


Examples of kodkod.engine.Proof.log()

              Proof p = sol.proof();
              if (sol.outcome()==UNSATISFIABLE) {
                 // only perform the minimization if it was UNSATISFIABLE, rather than TRIVIALLY_UNSATISFIABLE
                 int i = p.highLevelCore().size();
                 rep.minimizing(cmd, i);
                 if (opt.coreMinimization==0) try { p.minimize(new RCEStrategy(p.log())); } catch(Throwable ex) {}
                 if (opt.coreMinimization==1) try { p.minimize(new HybridStrategy(p.log())); } catch(Throwable ex) {}
                 rep.minimized(cmd, i, p.highLevelCore().size());
              }
              for(Iterator<TranslationRecord> it=p.core(); it.hasNext();) {
                 Object n=it.next().node();
View Full Code Here

Examples of mikera.vectorz.AVector.log()

      } else {
        if (!line.isFullyMutable()) {
          line = line.sparseClone();
          data[i] = line;
        }
        line.log();
      }
    }
  }
 
  @Override
View Full Code Here

Examples of net.kuujo.copycat.test.TestNode.log()

    cluster.start();

    node3.stateMachine().data("Hello world!");

    AtomicBoolean compacted = new AtomicBoolean();
    node3.log().on().compacted(() -> compacted.set(true));

    node1.instance().submit("command", "Hello world!").thenRun(() -> {
      node1.instance().submit("command", "Hello world!").thenRun(() -> {
        node1.instance().submit("command", "Hello world!").thenRun(() -> {
          node1.instance().submit("command", "Hello world!").thenRun(() -> {
View Full Code Here

Examples of net.sf.xbus.base.journal.Journal.log()

        // Logging of the receiving-activity into the journal and
        // closing the
        // connection to the database.
        call.setResponseTimestamp(new Date());
        Journal journal = new Journal();
        journal.log('R', source, call);
        journal.commit();
      } // try
      catch (Exception t)
      {
        Trace.error(t);
View Full Code Here

Examples of net.sourceforge.pebble.domain.AbstractBlog.log()

    } catch (IOException ioe) {
      ioe.printStackTrace();
      throw new ServletException(ioe);
    } finally {
      AbstractBlog blog = (AbstractBlog)getModel().get(Constants.BLOG_KEY);
      blog.log(request, getStatus());
    }
  }

  private String getTemplate() {
    if (!(getModel().get(Constants.BLOG_KEY) instanceof Blog)) {
View Full Code Here

Examples of net.webpasswordsafe.server.plugin.audit.AuditLogger.log()

    {
        boolean isAuthorized = isAuthorized(req, Constants.VIEW_REPORT_PREFIX+reportName);
        User user = new User();
        user.setUsername((String)req.getSession().getAttribute(Constants.SESSION_KEY_USERNAME));
        AuditLogger auditLogger = (AuditLogger)WebApplicationContextUtils.getWebApplicationContext(getServletContext()).getBean("auditLogger");
        auditLogger.log(new Date(), user.getUsername(), req.getRemoteAddr(), "view report", reportName, isAuthorized, (isAuthorized ? "" : "not authorized"));
        return isAuthorized;
    }
   
    @SuppressWarnings("unchecked")
    private boolean isAuthorized(HttpServletRequest req, String action)
View Full Code Here

Examples of nexj.core.util.Logger.log()

            Logger logger = getLinkLogger();

            if (logger != null && logger.isWarnEnabled())
            {
               logger.log(Logger.WARN, "err.sync.recoverableFormatting", new Object[] {tobj.getClassName()}, e);
            }

            tobj.setEventName(sOriginalEvent);
            formatFailSafe(tobj, message, out, bCommit, nRetry + 1);
         }
View Full Code Here

Examples of nl.whitehorses.wls.sca.spring.ILoggerComponent.log()

    public static void main(String[] args) {
        try {
            final Context context = new InitialContext();

            ILoggerComponent logger = (ILoggerComponent)context.lookup("LoggerService_EJB30_JNDI");
            logger.log("scaSpring", "111", "hello");
        } catch (Exception ex) {
            ex.printStackTrace();
        }
    }
}
View Full Code Here

Examples of no.hal.jex.ui.JexManager.log()

    startupMessage = new Text(rightPane, SWT.WRAP);
    startupMessage.setText(JExerciseViewHelpString);
    try {
      exerciseDetailsView = new Browser(rightPane, styles);
    } catch (Throwable t) {
      manager.log("Could not instantiate Browser control", IStatus.ERROR, t);
    }
    IWorkbenchHelpSystem help = PlatformUI.getWorkbench().getHelpSystem();
    String helpContext = JexUiPlugin.getPlugin().getBundle().getSymbolicName() + ".ExerciseView";
    help.setHelp(sash, helpContext);
    help.setHelp(exerciseViewer.getControl(), helpContext);
View Full Code Here

Examples of oracle.adf.share.logging.ADFLogger.log()

     */
    public void handleRequest(final SOAPMessageContext context) {
        // logging
        final ADFLogger logger = getServiceLogger(context);
        if (logger.isLoggable(LOG_LEVEL)) {
            logger.log(LOG_LEVEL, "invoking {0} at {1}", new Object[] {
                       fullOperationName(context), context.get(BindingProvider.ENDPOINT_ADDRESS_PROPERTY) });
            final String payload = prettyXml(context.getMessage());
            logger.log(LOG_LEVEL, "request payload\n{0}", payload);
            // start performance timer with all details (can be viewed in FMW Control)
            final HashMap<String, String> logContext = new HashMap<String, String>();
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.