本文整理了Java中org.apache.log.Logger.isDebugEnabled()
方法的一些代码示例,展示了Logger.isDebugEnabled()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Logger.isDebugEnabled()
方法的具体详情如下:
包路径:org.apache.log.Logger
类名称:Logger
方法名:isDebugEnabled
[英]Determine if messages of priority DEBUG will be logged.
[中]确定是否将记录具有调试优先级的消息。
代码示例来源:origin: org.freemarker/freemarker
@Override
public boolean isDebugEnabled() {
return logger.isDebugEnabled();
}
代码示例来源:origin: commons-logging/commons-logging
/**
* Checks whether the <code>LogKit</code> logger will log messages of priority <code>DEBUG</code>.
*/
public boolean isTraceEnabled() {
return getLogger().isDebugEnabled();
}
代码示例来源:origin: commons-logging/commons-logging
/**
* Checks whether the <code>LogKit</code> logger will log messages of priority <code>DEBUG</code>.
*/
public boolean isDebugEnabled() {
return getLogger().isDebugEnabled();
}
代码示例来源:origin: camunda/camunda-bpm-platform
/**
* Checks whether the <code>LogKit</code> logger will log messages of priority <code>DEBUG</code>.
*/
public boolean isTraceEnabled() {
return getLogger().isDebugEnabled();
}
代码示例来源:origin: camunda/camunda-bpm-platform
/**
* Checks whether the <code>LogKit</code> logger will log messages of priority <code>DEBUG</code>.
*/
public boolean isDebugEnabled() {
return getLogger().isDebugEnabled();
}
代码示例来源:origin: org.apache.avalon.framework/avalon-framework-impl
/**
* Determine if messages of priority "debug" will be logged.
*
* @return true if "debug" messages will be logged
*/
public final boolean isDebugEnabled()
{
return m_logger.isDebugEnabled();
}
代码示例来源:origin: apache/activemq-artemis
/**
* Checks whether the <code>LogKit</code> logger will log messages of priority <code>DEBUG</code>.
*/
public boolean isTraceEnabled() {
return getLogger().isDebugEnabled();
}
代码示例来源:origin: apache/activemq-artemis
/**
* Checks whether the <code>LogKit</code> logger will log messages of priority <code>DEBUG</code>.
*/
public boolean isDebugEnabled() {
return getLogger().isDebugEnabled();
}
代码示例来源:origin: apache/activemq-artemis
/**
* Checks whether the <code>LogKit</code> logger will log messages of priority <code>DEBUG</code>.
*/
public boolean isTraceEnabled() {
return getLogger().isDebugEnabled();
}
代码示例来源:origin: org.apache.openjpa/openjpa-all
/**
* Checks whether the <code>LogKit</code> logger will log messages of priority <code>DEBUG</code>.
*/
public boolean isDebugEnabled() {
return getLogger().isDebugEnabled();
}
代码示例来源:origin: org.apache.activemq/artemis-jms-client-all
/**
* Checks whether the <code>LogKit</code> logger will log messages of priority <code>DEBUG</code>.
*/
public boolean isTraceEnabled() {
return getLogger().isDebugEnabled();
}
代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.apache.commons.logging
/**
* Checks whether the <code>LogKit</code> logger will log messages of priority <code>DEBUG</code>.
*/
public boolean isDebugEnabled() {
return getLogger().isDebugEnabled();
}
代码示例来源:origin: org.apache.tomcat.extras/tomcat-extras-juli-adapters
/**
* Checks whether the <code>LogKit</code> logger will log messages of priority <code>DEBUG</code>.
*/
public boolean isTraceEnabled() {
return getLogger().isDebugEnabled();
}
代码示例来源:origin: com.impetus.fabric/fabric-jdbc-driver-shaded
/**
* Checks whether the <code>LogKit</code> logger will log messages of priority <code>DEBUG</code>.
*/
public boolean isTraceEnabled() {
return getLogger().isDebugEnabled();
}
代码示例来源:origin: apache/activemq-artemis
/**
* Checks whether the <code>LogKit</code> logger will log messages of priority <code>DEBUG</code>.
*/
public boolean isDebugEnabled() {
return getLogger().isDebugEnabled();
}
代码示例来源:origin: Nextdoor/bender
/**
* Checks whether the <code>LogKit</code> logger will log messages of priority <code>DEBUG</code>.
*/
public boolean isTraceEnabled() {
return getLogger().isDebugEnabled();
}
代码示例来源:origin: harbby/presto-connectors
/**
* Checks whether the <code>LogKit</code> logger will log messages of priority <code>DEBUG</code>.
*/
public boolean isDebugEnabled() {
return getLogger().isDebugEnabled();
}
代码示例来源:origin: org.apache.activemq/artemis-jms-client-all
/**
* Checks whether the <code>LogKit</code> logger will log messages of priority <code>DEBUG</code>.
*/
public boolean isDebugEnabled() {
return getLogger().isDebugEnabled();
}
代码示例来源:origin: org.apache.avalon.logkit/avalon-logkit
/**
* Log a debug priority event.
*
* @param message the message
*/
public final void debug( final String message )
{
if( isDebugEnabled() )
{
output( Priority.DEBUG, message, null );
}
}
代码示例来源:origin: undera/jmeter-plugins
@Override
protected byte[] processIO(SampleResult res) throws Exception {
SocketChannel sock = getSocketChannel();
if (!getRequestData().isEmpty()) {
ByteBuffer sendBuf = ByteBuffer.wrap(getRequestData().getBytes()); // cannot cache it because of variable processing
sock.write(sendBuf);
}
sendFile(getFileToSend(), sock);
if (log.isDebugEnabled()) {
log.debug("Sent request");
}
return readResponse(sock, res);
}
内容来源于网络,如有侵权,请联系作者删除!