Examples of log()


Examples of org.apache.felix.scr.impl.BundleComponentActivator.log()

    public void log( int level, String message, Throwable ex )
    {
        BundleComponentActivator activator = getActivator();
        if ( activator != null )
        {
            activator.log( level, message, getComponentMetadata(), m_componentId, ex );
        }
    }

    public void log( int level, String message, Object[] arguments, Throwable ex )
    {
View Full Code Here

Examples of org.apache.jasper.logging.Logger.log()

      Logger jasperLog = Constants.jasperLog;
     
            if (jasperLog != null
        && jasperLog.matchVerbosityLevel(Logger.INFORMATION))
    {
        jasperLog.log("JspEngine --> "+jspUri);
        jasperLog.log("\t     ServletPath: " +
                                  request.getServletPath());
        jasperLog.log("\t        PathInfo: " +
                                  request.getPathInfo());
        jasperLog.log("\t        RealPath: " +
View Full Code Here

Examples of org.apache.juddi.monitor.Monitor.log()

      // configured 'Monitor' implemneted registry (the
      // default Monitor implementation writes the monitored
      // information to a database table via JDBC).

      if (monitor != null)
        monitor.log();
    }

    try {
      SOAPBodyElement soapRespBody = new SOAPBodyElement(response);
      SOAPEnvelope soapRespEnv = soapResponse.getSOAPEnvelope();
View Full Code Here

Examples of org.apache.lenya.util.CommandLineLogger.log()

     * @param filter DOCUMENT ME!
     * @param create DOCUMENT ME!
     */
    public IndexInformation(String index, File dumpDirectory, FileFilter filter, boolean create) {
        CommandLineLogger logger = new CommandLineLogger(getClass());
        logger.log("collecting index information for index '" + index + "'...");

        creating = create;
        collectFiles(dumpDirectory, filter, index);
        this.startTime = new GregorianCalendar();

View Full Code Here

Examples of org.apache.log4j.Category.log()

    Category log4jCategory = Logger.getLogger("b");

    int n = 0;

    log4jLogger.log(org.apache.log4j.Level.DEBUG, "hello"+(++n));
    log4jCategory.log(org.apache.log4j.Level.DEBUG, "world"+(++n));
   
    assertEquals(n, listHandler.list.size());

    for (int i = 0; i < n; i++) {
      LogRecord logRecord = (LogRecord) listHandler.list.get(i);
View Full Code Here

Examples of org.apache.log4j.Logger.log()

    log4j.log(convert2Log4JLevel(level), msg);
  }

  public void log(int level, String context, Throwable t, Object msg) {
    Logger log4j = getLogger(context);
    log4j.log(convert2Log4JLevel(level), msg, t);
  }
 
  /**
   * Convert {@link MessageLevel} to {@link Level}
   * @param level
View Full Code Here

Examples of org.apache.logging.log4j.Logger.log()

        String[] names = new String[] { "levelTest", "levelTest.Trace", "levelTest.Debug", "levelTest.Info",
                "levelTest.Warn", "levelTest.Error", "levelTest.Fatal" };
        for (Level level : levels) {
            for (String name : names) {
                final Logger logger = context.getLogger(name);
                logger.log(level, msg); // Message
                logger.log(level, 123); // Object
                logger.log(level, name); // String
                logger.log(level, marker, msg); // Marker, Message
                logger.log(level, marker, 123); // Marker, Object
                logger.log(level, marker, name); // marker, String
View Full Code Here

Examples of org.apache.lucene.benchmark.quality.QualityStats.log()

    qrun.setMaxResults(maxResults);
    QualityStats stats[] = qrun.execute(judge, submitLog, logger);

    // print an avarage sum of the results
    QualityStats avg = QualityStats.average(stats);
    avg.log("SUMMARY", 2, logger, "  ");
   
    searcher.close();
    r.close();
    dir.close();
  }
View Full Code Here

Examples of org.apache.mailet.MailetContext.log()

        this.config = config;
    }

    public void service(Mail mail) throws MessagingException {
        MailetContext context = config.getMailetContext();
        context.log("Hello, World!");
        context.log("You have mail from " + mail.getSender().getLocalPart());
    }
}
View Full Code Here

Examples of org.apache.poi.util.POILogger.log()

            }
        }
        catch (RuntimeException ex)
        {
            final POILogger l = POILogFactory.getLogger(getClass());
            l.log(POILogger.WARN,
                    "The property set's dictionary contains bogus data. "
                    + "All dictionary entries starting with the one with ID "
                    + id + " will be ignored.", ex);
        }
        return m;
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.