本文整理了Java中org.apache.log.Logger.debug()
方法的一些代码示例,展示了Logger.debug()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Logger.debug()
方法的具体详情如下:
包路径:org.apache.log.Logger
类名称:Logger
方法名:debug
[英]Log a debug priority event.
[中]记录调试优先级事件。
代码示例来源:origin: org.freemarker/freemarker
@Override
public void debug(String message, Throwable t) {
logger.debug(message, t);
}
代码示例来源:origin: org.freemarker/freemarker
@Override
public void debug(String message) {
logger.debug(message);
}
代码示例来源:origin: commons-logging/commons-logging
/**
* Logs a message with <code>org.apache.log.Priority.DEBUG</code>.
*
* @param message to log
* @param t log this cause
* @see org.apache.commons.logging.Log#debug(Object, Throwable)
*/
public void debug(Object message, Throwable t) {
if (message != null) {
getLogger().debug(String.valueOf(message), t);
}
}
代码示例来源:origin: commons-logging/commons-logging
/**
* Logs a message with <code>org.apache.log.Priority.DEBUG</code>.
*
* @param message to log
* @see org.apache.commons.logging.Log#debug(Object)
*/
public void debug(Object message) {
if (message != null) {
getLogger().debug(String.valueOf(message));
}
}
代码示例来源:origin: camunda/camunda-bpm-platform
/**
* Logs a message with <code>org.apache.log.Priority.DEBUG</code>.
*
* @param message to log
* @see org.apache.commons.logging.Log#debug(Object)
*/
public void debug(Object message) {
if (message != null) {
getLogger().debug(String.valueOf(message));
}
}
代码示例来源:origin: camunda/camunda-bpm-platform
/**
* Logs a message with <code>org.apache.log.Priority.DEBUG</code>.
*
* @param message to log
* @param t log this cause
* @see org.apache.commons.logging.Log#debug(Object, Throwable)
*/
public void debug(Object message, Throwable t) {
if (message != null) {
getLogger().debug(String.valueOf(message), t);
}
}
代码示例来源:origin: undera/jmeter-plugins
@Override
public boolean drawImage(Image img, int x, int y, ImageObserver observer)
{
log.debug("Draw image");
return true;
}
代码示例来源:origin: undera/jmeter-plugins
@Override
protected void implCloseChannel() throws IOException {
log.debug("Emulating close file channel");
}
}
代码示例来源:origin: undera/jmeter-plugins
@Override
public void drawString(String str, int x, int y)
{
log.debug("drawString: " + str + " " + x + " " + y);
if (x < 0 || y < 0)
System.err.println("Value below zero!");
}
代码示例来源:origin: undera/jmeter-plugins
@Override
public boolean connect(SocketAddress remote) throws IOException {
log.debug("Emulating connect to " + remote.toString());
return true;
}
代码示例来源:origin: undera/jmeter-plugins
@Override
public void fillRect(int x, int y, int width, int height)
{
log.debug("fillRect " + x + " " + y + " " + width + " " + height);
if (x<0 || y <0)
System.err.println("Value below zero!");
if (width<=0 || height <=0)
System.err.println("Value is zero!");
}
代码示例来源:origin: undera/jmeter-plugins
public void testStarted() {
log.debug("Start testStarted");
super.testStarted();
log.debug("End testStarted host");
}
代码示例来源:origin: apache/activemq-artemis
/**
* Logs a message with <code>org.apache.log.Priority.DEBUG</code>.
*
* @param message to log
* @see org.apache.activemq.artemis.shaded.org.apache.commons.logging.Log#debug(Object)
*/
public void debug(Object message) {
if (message != null) {
getLogger().debug(String.valueOf(message));
}
}
代码示例来源:origin: undera/jmeter-plugins
public HttpSimpleTableControlGui() {
super();
log.debug("Creating HttpSimpleTableControlGui");
init();
}
代码示例来源:origin: undera/jmeter-plugins
@Override
public synchronized void run() {
while (true) {
processConnectors();
try {
this.wait(interval * 1000);
} catch (InterruptedException ex) {
log.debug("Monitoring thread was interrupted", ex);
break;
}
}
}
代码示例来源:origin: undera/jmeter-plugins
@Override
public void setColor(Color c)
{
log.debug("Setcolor: " + c.toString());
}
代码示例来源:origin: undera/jmeter-plugins
public void changeUnitInLabels(String unit) {
String oldUnit = unit.equals(AbstractDynamicThreadGroup.UNIT_MINUTES) ? AbstractDynamicThreadGroup.UNIT_SECONDS : AbstractDynamicThreadGroup.UNIT_MINUTES;
String oldUnitStr = AbstractDynamicThreadGroup.getUnitStr(oldUnit);
String unitStr = AbstractDynamicThreadGroup.getUnitStr(unit);
log.debug(oldUnit + " " + oldUnitStr + "=>" + unitStr);
targetRateLabel.setText(targetRateLabel.getText().replace("/" + oldUnitStr + ")", "/" + unitStr + ")"));
rampUpLabel.setText(rampUpLabel.getText().replace("(" + oldUnitStr + ")", "(" + unitStr + ")"));
holdLabel.setText(holdLabel.getText().replace("(" + oldUnitStr + ")", "(" + unitStr + ")"));
}
}
代码示例来源:origin: undera/jmeter-plugins
@Override
public void testStarted(String host) {
log.debug("Start testStarted host = " + host);
if(!isWorkingHost(host)) {
return;
}
initCollector();
super.testStarted(host);
log.debug("End testStarted host = " + host);
}
代码示例来源:origin: undera/jmeter-plugins
/**
* @return the filemask
*/
public String getFilemask() {
log.debug("Return filemask: " + getPropertyAsString(FILEMASK));
return getPropertyAsString(FILEMASK);
}
代码示例来源:origin: undera/jmeter-plugins
public void loadFromTestElement(DistributedTestControl te) {
CollectionProperty servers = te.getData();
log.debug("Loading: " + servers.toString());
clear();
for (int n = 0; n < servers.size(); n++) {
log.debug("Adding: " + servers.get(n).toString());
add(servers.get(n).getStringValue());
}
}
内容来源于网络,如有侵权,请联系作者删除!