本文整理了Java中org.jdtaus.core.logging.spi.Logger.isDebugEnabled()
方法的一些代码示例,展示了Logger.isDebugEnabled()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Logger.isDebugEnabled()
方法的具体详情如下:
包路径:org.jdtaus.core.logging.spi.Logger
类名称:Logger
方法名:isDebugEnabled
[英]Getter for property debugEnabled.
[中]属性的Getter已启用。
代码示例来源:origin: org.jdtaus.core.monitor/jdtaus-core-task-monitor
public void start()
{
super.start();
if ( getLogger().isDebugEnabled() )
{
getLogger().debug( getThreadStartedMessage(
getLocale(), new Long( this.pollIntervalMillis ) ) );
}
}
代码示例来源:origin: org.jdtaus.core.sax/jdtaus-core-entity-resolver
if ( this.getLogger().isDebugEnabled() )
代码示例来源:origin: org.jdtaus.core.sax/jdtaus-core-entity-resolver
schemaSource.setSystemId( urls[i].toExternalForm() );
if ( this.getLogger().isDebugEnabled() )
代码示例来源:origin: org.jdtaus.core/jdtaus-core-utilities
/**
* Increases the capacity of the instance, if necessary, to ensure that it
* can hold at least the number of bytes specified by the minimum capacity
* argument.
*
* @param minimumCapacity the minimum capacity to ensure.
*/
public void ensureCapacity( final int minimumCapacity )
{
final int oldLength = this.data.length;
while ( this.data.length < minimumCapacity )
{
final byte[] newData = this.getMemoryManager().allocateBytes(
this.data.length * 2 >= minimumCapacity
? this.data.length * 2
: minimumCapacity );
Arrays.fill( newData, (byte) 0 );
System.arraycopy( this.data, 0, newData, 0, this.data.length );
this.data = newData;
}
if ( oldLength != this.data.length &&
this.getLogger().isDebugEnabled() )
{
this.getLogger().debug(
this.getLogResizeMessage( this.getLocale(),
new Long( this.data.length ) ) );
}
}
代码示例来源:origin: org.jdtaus.banking.dtaus/jdtaus-banking-ri-dtaus
if ( this.getLogger().isDebugEnabled() )
代码示例来源:origin: org.jdtaus.banking.dtaus/jdtaus-banking-ri-dtaus
if ( this.getLogger().isDebugEnabled() )
代码示例来源:origin: org.jdtaus.banking.dtaus/jdtaus-banking-ri-dtaus
if ( this.getLogger().isDebugEnabled() )
代码示例来源:origin: org.jdtaus.banking/jdtaus-banking-utilities
if ( this.getLogger().isDebugEnabled() )
代码示例来源:origin: org.jdtaus.banking.dtaus/jdtaus-banking-ri-dtaus
if ( this.getLogger().isDebugEnabled() )
代码示例来源:origin: org.jdtaus.core/jdtaus-core-it
/**
* Tests the {@link Logger#isInfoEnabled() isXxxEnabled()} methods to not
* throw any exceptions.
*/
public void testIsEnabled() throws Exception
{
assert this.getLogger() != null;
this.getLogger().isDebugEnabled();
this.getLogger().isErrorEnabled();
this.getLogger().isFatalEnabled();
this.getLogger().isInfoEnabled();
this.getLogger().isTraceEnabled();
this.getLogger().isWarnEnabled();
}
代码示例来源:origin: org.jdtaus.banking.dtaus/jdtaus-banking-ri-dtaus
if ( this.getLogger().isDebugEnabled() )
代码示例来源:origin: org.jdtaus.banking/jdtaus-banking-utilities
final boolean log = this.getLogger().isDebugEnabled();
final boolean upgrade = this.getFormat() < file.getFormat();
代码示例来源:origin: org.jdtaus.banking/jdtaus-banking-ri-bankleitzahlenverzeichnis
if ( this.getLogger().isDebugEnabled() )
内容来源于网络,如有侵权,请联系作者删除!