Package org.apache.uima.fit.internal

Examples of org.apache.uima.fit.internal.ExtendedLogger


        org.apache.uima.analysis_component.CasMultiplier_ImplBase {
  private ExtendedLogger logger;

  public ExtendedLogger getLogger() {
    if (logger == null) {
      logger = new ExtendedLogger(getContext());
    }
    return logger;
  }
View Full Code Here


    UIMAFramework.getLogger().setLevel(org.apache.uima.util.Level.INFO);

    try {
      UimaContextAdmin ctx = new RootUimaContext_impl();
      ctx.setLogger(JSR47Logger_impl.getInstance());
      ExtendedLogger logger = new ExtendedLogger(ctx);
          
      logger.setLevel(org.apache.uima.util.Level.ALL);
      trigger(logger);
      logger.setLevel(org.apache.uima.util.Level.OFF);
      trigger(logger);

      assertEquals(10, records.size());
      assertEquals(Level.FINER, records.get(0).getLevel());
      assertEquals(Level.FINER, records.get(1).getLevel());
View Full Code Here

    });

    try {
      UimaContextAdmin ctx = new RootUimaContext_impl();
      ctx.setLogger(Log4jLogger_impl.getInstance());
      ExtendedLogger logger = new ExtendedLogger(ctx);

      logger.setLevel(org.apache.uima.util.Level.ALL);
      trigger(logger);
      logger.setLevel(org.apache.uima.util.Level.OFF);
      trigger(logger);

      assertEquals(10, records.size());
      assertEquals(org.apache.log4j.Level.ALL, records.get(0).getLevel());
      assertEquals(org.apache.log4j.Level.ALL, records.get(1).getLevel());
View Full Code Here

  private ExtendedLogger logger;

  @Override
  public ExtendedLogger getLogger() {
    if (logger == null) {
      logger = new ExtendedLogger(getUimaContext());
    }
    return logger;
  }
View Full Code Here

   *
   * @return the logger.
   */
  public ExtendedLogger getLogger() {
    if (logger == null) {
      logger = new ExtendedLogger(getContext());
    }
    return logger;
  }
View Full Code Here

   *
   * @return the logger.
   */
  public ExtendedLogger getLogger() {
    if (logger == null) {
      logger = new ExtendedLogger(getContext());
    }
    return logger;
  }
View Full Code Here

   *
   * @return the logger.
   */
  public ExtendedLogger getLogger() {
    if (logger == null) {
      logger = new ExtendedLogger(getContext());
    }
    return logger;
  }
View Full Code Here

   *
   * @return the logger.
   */
  public ExtendedLogger getLogger() {
    if (logger == null) {
      logger = new ExtendedLogger(getContext());
    }
    return logger;
  }
View Full Code Here

  private ExtendedLogger logger;

  @Override
  public ExtendedLogger getLogger() {
    if (logger == null) {
      logger = new ExtendedLogger(getUimaContext());
    }
    return logger;
  }
View Full Code Here

   *
   * @return the logger.
   */
  public ExtendedLogger getLogger() {
    if (logger == null) {
      logger = new ExtendedLogger(getContext());
    }
    return logger;
  }
View Full Code Here

TOP

Related Classes of org.apache.uima.fit.internal.ExtendedLogger

Copyright © 2018 www.massapicom. 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.