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

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

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

Logger.isDebugEnabled介绍

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

代码示例

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

  1. /**
  2. * Is logging to <code>org.apache.avalon.framework.logger.Logger.debug</code> enabled?
  3. * @see org.apache.commons.logging.Log#isDebugEnabled()
  4. */
  5. public boolean isDebugEnabled() {
  6. return getLogger().isDebugEnabled();
  7. }

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

  1. /**
  2. * Is logging to <code>org.apache.avalon.framework.logger.Logger.debug</code> enabled?
  3. * @see org.apache.commons.logging.Log#isTraceEnabled()
  4. */
  5. public boolean isTraceEnabled() {
  6. return getLogger().isDebugEnabled();
  7. }

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

  1. /**
  2. * Logs a message with <code>org.apache.avalon.framework.logger.Logger.debug</code>.
  3. *
  4. * @param message to log
  5. * @param t log this cause
  6. * @see org.apache.commons.logging.Log#debug(Object, Throwable)
  7. */
  8. public void debug(Object message, Throwable t) {
  9. if (getLogger().isDebugEnabled()) {
  10. getLogger().debug(String.valueOf(message), t);
  11. }
  12. }

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

  1. /**
  2. * Logs a message with <code>org.apache.avalon.framework.logger.Logger.debug</code>.
  3. *
  4. * @param message to log.
  5. * @see org.apache.commons.logging.Log#debug(Object)
  6. */
  7. public void debug(Object message) {
  8. if (getLogger().isDebugEnabled()) {
  9. getLogger().debug(String.valueOf(message));
  10. }
  11. }

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

  1. /**
  2. * Logs a message with <code>org.apache.avalon.framework.logger.Logger.debug</code>.
  3. *
  4. * @param message to log
  5. * @see org.apache.commons.logging.Log#trace(Object)
  6. */
  7. public void trace(Object message) {
  8. if (getLogger().isDebugEnabled()) {
  9. getLogger().debug(String.valueOf(message));
  10. }
  11. }

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

  1. /**
  2. * Logs a message with <code>org.apache.avalon.framework.logger.Logger.debug</code>.
  3. *
  4. * @param message to log.
  5. * @param t log this cause.
  6. * @see org.apache.commons.logging.Log#trace(Object, Throwable)
  7. */
  8. public void trace(Object message, Throwable t) {
  9. if (getLogger().isDebugEnabled()) {
  10. getLogger().debug(String.valueOf(message), t);
  11. }
  12. }

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

  1. /**
  2. * Is logging to
  3. * <code>org.apache.avalon.framework.logger.Logger.debug</code> enabled?
  4. * @see org.apache.commons.logging.Log#isDebugEnabled()
  5. */
  6. public boolean isDebugEnabled() {
  7. return getLogger().isDebugEnabled();
  8. }

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

  1. /**
  2. * Is logging to
  3. * <code>org.apache.avalon.framework.logger.Logger.debug</code> enabled?
  4. * @see org.apache.commons.logging.Log#isTraceEnabled()
  5. */
  6. public boolean isTraceEnabled() {
  7. return getLogger().isDebugEnabled();
  8. }

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

  1. /**
  2. * Logs a message with
  3. * <code>org.apache.avalon.framework.logger.Logger.debug</code>.
  4. *
  5. * @param message to log
  6. * @see org.apache.commons.logging.Log#trace(Object)
  7. */
  8. public void trace(Object message) {
  9. if (getLogger().isDebugEnabled()) getLogger().debug(String.valueOf(message));
  10. }

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

  1. /**
  2. * Logs a message with
  3. * <code>org.apache.avalon.framework.logger.Logger.debug</code>.
  4. *
  5. * @param message to log
  6. * @param t log this cause
  7. * @see org.apache.commons.logging.Log#debug(Object, Throwable)
  8. */
  9. public void debug(Object message, Throwable t) {
  10. if (getLogger().isDebugEnabled()) getLogger().debug(String.valueOf(message), t);
  11. }

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

  1. /**
  2. * Logs a message with
  3. * <code>org.apache.avalon.framework.logger.Logger.debug</code>.
  4. *
  5. * @param message to log.
  6. * @see org.apache.commons.logging.Log#debug(Object)
  7. */
  8. public void debug(Object message) {
  9. if (getLogger().isDebugEnabled()) getLogger().debug(String.valueOf(message));
  10. }

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

  1. /**
  2. * Logs a message with
  3. * <code>org.apache.avalon.framework.logger.Logger.debug</code>.
  4. *
  5. * @param message to log.
  6. * @param t log this cause.
  7. * @see org.apache.commons.logging.Log#trace(Object, Throwable)
  8. */
  9. public void trace(Object message, Throwable t) {
  10. if (getLogger().isDebugEnabled()) getLogger().debug(String.valueOf(message), t);
  11. }

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

  1. /**
  2. * Is logging to <code>org.apache.avalon.framework.logger.Logger.debug</code> enabled?
  3. * @see org.apache.activemq.artemis.shaded.org.apache.commons.logging.Log#isTraceEnabled()
  4. */
  5. public boolean isTraceEnabled() {
  6. return getLogger().isDebugEnabled();
  7. }

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

  1. /**
  2. * Is logging to <code>org.apache.avalon.framework.logger.Logger.debug</code> enabled?
  3. * @see org.apache.activemq.artemis.shaded.org.apache.commons.logging.Log#isDebugEnabled()
  4. */
  5. public boolean isDebugEnabled() {
  6. return getLogger().isDebugEnabled();
  7. }

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

  1. /**
  2. * Is logging to <code>org.apache.avalon.framework.logger.Logger.debug</code> enabled?
  3. * @see org.apache.activemq.artemis.shaded.org.apache.commons.logging.Log#isDebugEnabled()
  4. */
  5. public boolean isDebugEnabled() {
  6. return getLogger().isDebugEnabled();
  7. }

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

  1. /**
  2. * Is logging to <code>org.apache.avalon.framework.logger.Logger.debug</code> enabled?
  3. * @see org.apache.activemq.artemis.shaded.org.apache.commons.logging.Log#isTraceEnabled()
  4. */
  5. public boolean isTraceEnabled() {
  6. return getLogger().isDebugEnabled();
  7. }

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

  1. /**
  2. * Logs a message with <code>org.apache.avalon.framework.logger.Logger.debug</code>.
  3. *
  4. * @param message to log
  5. * @param t log this cause
  6. * @see org.apache.activemq.artemis.shaded.org.apache.commons.logging.Log#debug(Object, Throwable)
  7. */
  8. public void debug(Object message, Throwable t) {
  9. if (getLogger().isDebugEnabled()) {
  10. getLogger().debug(String.valueOf(message), t);
  11. }
  12. }

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

  1. /**
  2. * Logs a message with <code>org.apache.avalon.framework.logger.Logger.debug</code>.
  3. *
  4. * @param message to log.
  5. * @see org.apache.activemq.artemis.shaded.org.apache.commons.logging.Log#debug(Object)
  6. */
  7. public void debug(Object message) {
  8. if (getLogger().isDebugEnabled()) {
  9. getLogger().debug(String.valueOf(message));
  10. }
  11. }

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

  1. /**
  2. * Logs a message with <code>org.apache.avalon.framework.logger.Logger.debug</code>.
  3. *
  4. * @param message to log
  5. * @param t log this cause
  6. * @see org.apache.activemq.artemis.shaded.org.apache.commons.logging.Log#debug(Object, Throwable)
  7. */
  8. public void debug(Object message, Throwable t) {
  9. if (getLogger().isDebugEnabled()) {
  10. getLogger().debug(String.valueOf(message), t);
  11. }
  12. }

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

  1. /**
  2. * Logs a message with <code>org.apache.avalon.framework.logger.Logger.debug</code>.
  3. *
  4. * @param message to log
  5. * @see org.apache.activemq.artemis.shaded.org.apache.commons.logging.Log#trace(Object)
  6. */
  7. public void trace(Object message) {
  8. if (getLogger().isDebugEnabled()) {
  9. getLogger().debug(String.valueOf(message));
  10. }
  11. }

相关文章