org.jdtaus.core.logging.spi.Logger.isDebugEnabled()方法的使用及代码示例

x33g5p2x  于2022-01-24 转载在 其他  
字(2.9k)|赞(0)|评价(0)|浏览(610)

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

Logger.isDebugEnabled介绍

[英]Getter for property debugEnabled.
[中]属性的Getter已启用。

代码示例

代码示例来源:origin: org.jdtaus.core.monitor/jdtaus-core-task-monitor

  1. public void start()
  2. {
  3. super.start();
  4. if ( getLogger().isDebugEnabled() )
  5. {
  6. getLogger().debug( getThreadStartedMessage(
  7. getLocale(), new Long( this.pollIntervalMillis ) ) );
  8. }
  9. }

代码示例来源:origin: org.jdtaus.core.sax/jdtaus-core-entity-resolver

  1. if ( this.getLogger().isDebugEnabled() )

代码示例来源:origin: org.jdtaus.core.sax/jdtaus-core-entity-resolver

  1. schemaSource.setSystemId( urls[i].toExternalForm() );
  2. if ( this.getLogger().isDebugEnabled() )

代码示例来源:origin: org.jdtaus.core/jdtaus-core-utilities

  1. /**
  2. * Increases the capacity of the instance, if necessary, to ensure that it
  3. * can hold at least the number of bytes specified by the minimum capacity
  4. * argument.
  5. *
  6. * @param minimumCapacity the minimum capacity to ensure.
  7. */
  8. public void ensureCapacity( final int minimumCapacity )
  9. {
  10. final int oldLength = this.data.length;
  11. while ( this.data.length < minimumCapacity )
  12. {
  13. final byte[] newData = this.getMemoryManager().allocateBytes(
  14. this.data.length * 2 >= minimumCapacity
  15. ? this.data.length * 2
  16. : minimumCapacity );
  17. Arrays.fill( newData, (byte) 0 );
  18. System.arraycopy( this.data, 0, newData, 0, this.data.length );
  19. this.data = newData;
  20. }
  21. if ( oldLength != this.data.length &&
  22. this.getLogger().isDebugEnabled() )
  23. {
  24. this.getLogger().debug(
  25. this.getLogResizeMessage( this.getLocale(),
  26. new Long( this.data.length ) ) );
  27. }
  28. }

代码示例来源:origin: org.jdtaus.banking.dtaus/jdtaus-banking-ri-dtaus

  1. if ( this.getLogger().isDebugEnabled() )

代码示例来源:origin: org.jdtaus.banking.dtaus/jdtaus-banking-ri-dtaus

  1. if ( this.getLogger().isDebugEnabled() )

代码示例来源:origin: org.jdtaus.banking.dtaus/jdtaus-banking-ri-dtaus

  1. if ( this.getLogger().isDebugEnabled() )

代码示例来源:origin: org.jdtaus.banking/jdtaus-banking-utilities

  1. if ( this.getLogger().isDebugEnabled() )

代码示例来源:origin: org.jdtaus.banking.dtaus/jdtaus-banking-ri-dtaus

  1. if ( this.getLogger().isDebugEnabled() )

代码示例来源:origin: org.jdtaus.core/jdtaus-core-it

  1. /**
  2. * Tests the {@link Logger#isInfoEnabled() isXxxEnabled()} methods to not
  3. * throw any exceptions.
  4. */
  5. public void testIsEnabled() throws Exception
  6. {
  7. assert this.getLogger() != null;
  8. this.getLogger().isDebugEnabled();
  9. this.getLogger().isErrorEnabled();
  10. this.getLogger().isFatalEnabled();
  11. this.getLogger().isInfoEnabled();
  12. this.getLogger().isTraceEnabled();
  13. this.getLogger().isWarnEnabled();
  14. }

代码示例来源:origin: org.jdtaus.banking.dtaus/jdtaus-banking-ri-dtaus

  1. if ( this.getLogger().isDebugEnabled() )

代码示例来源:origin: org.jdtaus.banking/jdtaus-banking-utilities

  1. final boolean log = this.getLogger().isDebugEnabled();
  2. final boolean upgrade = this.getFormat() < file.getFormat();

代码示例来源:origin: org.jdtaus.banking/jdtaus-banking-ri-bankleitzahlenverzeichnis

  1. if ( this.getLogger().isDebugEnabled() )

相关文章