org.apache.avalon.framework.logger.Logger.isInfoEnabled()方法的使用及代码示例

x33g5p2x  于2022-01-23 转载在 其他  
字(6.8k)|赞(0)|评价(0)|浏览(227)

本文整理了Java中org.apache.avalon.framework.logger.Logger.isInfoEnabled()方法的一些代码示例,展示了Logger.isInfoEnabled()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Logger.isInfoEnabled()方法的具体详情如下:
包路径:org.apache.avalon.framework.logger.Logger
类名称:Logger
方法名:isInfoEnabled

Logger.isInfoEnabled介绍

[英]Determine if messages of priority "info" will be logged.
[中]确定是否将记录优先级为“info”的消息。

代码示例

代码示例来源:origin: commons-logging/commons-logging

/**
 * Is logging to <code>org.apache.avalon.framework.logger.Logger.info</code> enabled?
 * @see org.apache.commons.logging.Log#isInfoEnabled()
 */
public boolean isInfoEnabled() {
  return getLogger().isInfoEnabled();
}

代码示例来源:origin: commons-logging/commons-logging

/**
 * Logs a message with <code>org.apache.avalon.framework.logger.Logger.info</code>.
 *
 * @param message to log
 * @param t log this cause
 * @see org.apache.commons.logging.Log#info(Object, Throwable)
 */
public void info(Object message, Throwable t) {
  if (getLogger().isInfoEnabled()) {
    getLogger().info(String.valueOf(message), t);
  }
}

代码示例来源:origin: commons-logging/commons-logging

/**
 * Logs a message with <code>org.apache.avalon.framework.logger.Logger.info</code>.
 *
 * @param message to log
 * @see org.apache.commons.logging.Log#info(Object)
 */
public void info(Object message) {
  if (getLogger().isInfoEnabled()) {
    getLogger().info(String.valueOf(message));
  }
}

代码示例来源:origin: camunda/camunda-bpm-platform

/**
 * Is logging to
 * <code>org.apache.avalon.framework.logger.Logger.info</code> enabled?
 * @see org.apache.commons.logging.Log#isInfoEnabled()
 */
public boolean isInfoEnabled() {
  return getLogger().isInfoEnabled();
}

代码示例来源:origin: camunda/camunda-bpm-platform

/**
 * Logs a message with
 * <code>org.apache.avalon.framework.logger.Logger.info</code>.
 * 
 * @param message to log
 * @see org.apache.commons.logging.Log#info(Object)
 */
public void info(Object message) {
  if (getLogger().isInfoEnabled()) getLogger().info(String.valueOf(message));
}

代码示例来源:origin: camunda/camunda-bpm-platform

/**
 * Logs a message with
 * <code>org.apache.avalon.framework.logger.Logger.info</code>.
 * 
 * @param message to log
 * @param t log this cause
 * @see org.apache.commons.logging.Log#info(Object, Throwable)
 */
public void info(Object message, Throwable t) {
  if (getLogger().isInfoEnabled()) getLogger().info(String.valueOf(message), t);
}

代码示例来源:origin: com.impetus.fabric/fabric-jdbc-driver-shaded

/**
 * Is logging to <code>org.apache.avalon.framework.logger.Logger.info</code> enabled?
 * @see org.apache.commons.logging.Log#isInfoEnabled()
 */
public boolean isInfoEnabled() {
  return getLogger().isInfoEnabled();
}

代码示例来源:origin: apache/activemq-artemis

/**
 * Is logging to <code>org.apache.avalon.framework.logger.Logger.info</code> enabled?
 * @see org.apache.activemq.artemis.shaded.org.apache.commons.logging.Log#isInfoEnabled()
 */
public boolean isInfoEnabled() {
  return getLogger().isInfoEnabled();
}

代码示例来源:origin: apache/activemq-artemis

/**
 * Is logging to <code>org.apache.avalon.framework.logger.Logger.info</code> enabled?
 * @see org.apache.activemq.artemis.shaded.org.apache.commons.logging.Log#isInfoEnabled()
 */
public boolean isInfoEnabled() {
  return getLogger().isInfoEnabled();
}

代码示例来源:origin: harbby/presto-connectors

/**
 * Is logging to <code>org.apache.avalon.framework.logger.Logger.info</code> enabled?
 * @see com.facebook.presto.hbase.$internal.org.apache.commons.logging.Log#isInfoEnabled()
 */
public boolean isInfoEnabled() {
  return getLogger().isInfoEnabled();
}

代码示例来源:origin: org.apache.excalibur.containerkit/excalibur-logger

public boolean isInfoEnabled()
{
  final Logger logger = getLoggerLight();
  return logger.isInfoEnabled();
}

代码示例来源:origin: apache/activemq-artemis

/**
 * Logs a message with <code>org.apache.avalon.framework.logger.Logger.info</code>.
 *
 * @param message to log
 * @param t log this cause
 * @see org.apache.activemq.artemis.shaded.org.apache.commons.logging.Log#info(Object, Throwable)
 */
public void info(Object message, Throwable t) {
  if (getLogger().isInfoEnabled()) {
    getLogger().info(String.valueOf(message), t);
  }
}

代码示例来源:origin: org.apache.activemq/artemis-jms-client-all

/**
 * Logs a message with <code>org.apache.avalon.framework.logger.Logger.info</code>.
 *
 * @param message to log
 * @param t log this cause
 * @see org.apache.activemq.artemis.shaded.org.apache.commons.logging.Log#info(Object, Throwable)
 */
public void info(Object message, Throwable t) {
  if (getLogger().isInfoEnabled()) {
    getLogger().info(String.valueOf(message), t);
  }
}

代码示例来源:origin: org.apache.fulcrum/fulcrum-localization

/**
 * Called the first time the Service is used.
 */
public void initialize() throws Exception
{
  // initBundleNames(null);
  defaultLocale = new Locale(defaultLanguage, defaultCountry);
  if (getLogger().isInfoEnabled())
  {
    getLogger().info("Localization Service is Initialized now..");
  }
}

代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.apache.commons.logging

/**
 * Logs a message with
 * <code>org.apache.avalon.framework.logger.Logger.info</code>.
 * 
 * @param message to log
 * @param t log this cause
 * @see org.apache.commons.logging.Log#info(Object, Throwable)
 */
public void info(Object message, Throwable t) {
  if (getLogger().isInfoEnabled()) getLogger().info(String.valueOf(message), t);
}

代码示例来源:origin: apache/activemq-artemis

/**
 * Logs a message with <code>org.apache.avalon.framework.logger.Logger.info</code>.
 *
 * @param message to log
 * @param t log this cause
 * @see org.apache.activemq.artemis.shaded.org.apache.commons.logging.Log#info(Object, Throwable)
 */
public void info(Object message, Throwable t) {
  if (getLogger().isInfoEnabled()) {
    getLogger().info(String.valueOf(message), t);
  }
}

代码示例来源:origin: apache/activemq-artemis

/**
 * Logs a message with <code>org.apache.avalon.framework.logger.Logger.info</code>.
 *
 * @param message to log
 * @see org.apache.activemq.artemis.shaded.org.apache.commons.logging.Log#info(Object)
 */
public void info(Object message) {
  if (getLogger().isInfoEnabled()) {
    getLogger().info(String.valueOf(message));
  }
}

代码示例来源:origin: apache/activemq-artemis

/**
 * Logs a message with <code>org.apache.avalon.framework.logger.Logger.info</code>.
 *
 * @param message to log
 * @see org.apache.activemq.artemis.shaded.org.apache.commons.logging.Log#info(Object)
 */
public void info(Object message) {
  if (getLogger().isInfoEnabled()) {
    getLogger().info(String.valueOf(message));
  }
}

代码示例来源:origin: harbby/presto-connectors

/**
 * Logs a message with <code>org.apache.avalon.framework.logger.Logger.info</code>.
 *
 * @param message to log
 * @param t log this cause
 * @see com.facebook.presto.hbase.$internal.org.apache.commons.logging.Log#info(Object, Throwable)
 */
public void info(Object message, Throwable t) {
  if (getLogger().isInfoEnabled()) {
    getLogger().info(String.valueOf(message), t);
  }
}

代码示例来源:origin: org.apache.openjpa/openjpa-all

/**
 * Logs a message with <code>org.apache.avalon.framework.logger.Logger.info</code>.
 *
 * @param message to log
 * @param t log this cause
 * @see org.apache.commons.logging.Log#info(Object, Throwable)
 */
public void info(Object message, Throwable t) {
  if (getLogger().isInfoEnabled()) {
    getLogger().info(String.valueOf(message), t);
  }
}

相关文章