Examples of Log


Examples of org.lightfish.business.logging.Log

                        return null;
                    }
                }).when(
                this.cut.escalationSink).fire((Escalation) anyObject());
        cut.scripting = mock(ScriptStore.class);
        cut.LOG = new Log();

        cut.initScripting();
    }
View Full Code Here

Examples of org.locationtech.geogig.web.api.commands.Log

     *
     * @param options the parameter set
     * @return the built command
     */
    static Log buildLog(ParameterSet options) {
        Log command = new Log();
        command.setLimit(parseInt(options, "limit", null));
        command.setOffset(parseInt(options, "offset", null));
        command.setPaths(Arrays.asList(options.getValuesArray("path")));
        command.setSince(options.getFirstValue("since"));
        command.setUntil(options.getFirstValue("until"));
        command.setSinceTime(options.getFirstValue("sinceTime"));
        command.setUntilTime(options.getFirstValue("untilTime"));
        command.setPage(parseInt(options, "page", 0));
        command.setElementsPerPage(parseInt(options, "show", 30));
        command.setFirstParentOnly(Boolean.valueOf(options
                .getFirstValue("firstParentOnly", "false")));
        command.setCountChanges(Boolean.valueOf(options.getFirstValue("countChanges", "false")));
        command.setReturnRange(Boolean.valueOf(options.getFirstValue("returnRange", "false")));
        command.setSummary(Boolean.valueOf(options.getFirstValue("summary", "false")));
        return command;
    }
View Full Code Here

Examples of org.meb.speedway.web.log.Log

    eventTasks = searchService.find(query);
  }

  public void importEventTasks() {
    String logText = importService.importEventSources();
    log = new Log(logText, "\n", "\\|");
    LogStyleUtil.styleAsImportLog(log);
    // if (!conversation.isTransient()) {
    // conversation.end();
    // }
  }
View Full Code Here

Examples of org.mortbay.util.Log

    private void initJetty() throws ContainerException {
        // configure JSSE properties
        SSLUtil.loadJsseProperties();

        // configure jetty logging
        Log log = Log.instance();
        log.disableLog();
        Log4jSink sink = new Log4jSink();
        log.add(sink);
        sink.setOptions(UtilURL.fromResource("debug.properties").toExternalForm());
        try {
            sink.start();
        } catch (Exception e) {
            Debug.logWarning(e, module);
View Full Code Here

Examples of org.ow2.util.log.Log

     * @param ic contains attributes of invocation
     * @return method's invocation result
     * @throws Exception if invocation fails
     */
    public static Object getParametersArray(final InvocationContext ic) throws Exception {
        Log logger = LogFactory.getLog(InvocationContextHelper.class);

        logger.debug("Starting method getParametersArray...");

        Object[] arNew = null;
        Object[] arParam = ic.getParameters();

        logger.debug("current parameters: {0}", arParam[0]);

        if (arParam != null) {
            arNew = new Object[arParam.length];
            for (int i = 0; i < arParam.length; i++) {
                arNew[i] = arParam[i];
            }
        }

        logger.debug("new parameters: {0}", arNew[0]);
        logger.debug("before setParameters(), {0}", ic.getParameters()[0]);

        ic.setParameters(arNew);

        logger.debug("after setParameters(), {0}", ic.getParameters()[0]);
        logger.debug("Finishing method getParametersArray...");

        return ic.proceed();
    }
View Full Code Here

Examples of org.radargun.logging.Log

            List<Level> levels = new ArrayList<Level>();
            String[] debugPackages = getDebugKeyPackages();
            ComponentRegistry componentRegistry = cache.getComponentRegistry();
            try {
               for (String pkg : debugPackages) {
                  Log logger = LogFactory.getLog(pkg);
                  levels.add(logger.getLevel());
                  logger.setLevel(Level.TRACE);
               }
               for (String clazz : getDebugKeyClassesTraceFix()) {
                  setTraceField(componentRegistry, clazz, true);
               }
               cache.get(key);
View Full Code Here

Examples of org.twdata.maven.yamlpom.Log

        return "MAVEN_YAMLPOM";
    }

    private void sync(File xmlFile, File yamlFile, boolean xmlFirst)
    {
        Log log = new SysOutLog();
        try
        {
            if (xmlFirst)
            {
                convertYamlToXml()
View Full Code Here

Examples of org.waveprotocol.wave.model.operation.testing.DomainRandomTester.Log

  protected void createTester() {
    createTester(new DocumentDomain(), new DocOpGenerator());
  }

  protected void createTester(DocumentDomain d, RandomOpGenerator<BootstrapDocument, DocOp> g) {
    t = new DomainRandomTester<BootstrapDocument, DocOp>(new Log() {
        @Override
        public void inconsistent(String... lines) {
          if (!expectFailure) {
            for (String line : lines) {
              System.err.println(line);
View Full Code Here

Examples of org.wsI.testing.x2003.x03.log.Log

  }

  private File buildLog( WsdlRequest modelItem ) throws Exception
  {
    LogDocument logDoc = LogDocument.Factory.newInstance();
    Log log = logDoc.addNewLog();
    log.setTimestamp( Calendar.getInstance() );

    addMonitorConfig( log );
    addMessageConfig( log, modelItem );

    logFile = File.createTempFile( "wsi-analyzer-log", ".xml" );
View Full Code Here

Examples of org.xmpp.component.Log

  public Log getLog() {
    return logger;
  }
 
  private void createDummyLogger() {
    this.logger = new Log() {
      public void error(String message) {
        System.out.println(message);
      }
     
      public void error(String message, Throwable throwable) {
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.