本文整理了Java中org.apache.dubbo.common.logger.Logger.debug()
方法的一些代码示例,展示了Logger.debug()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Logger.debug()
方法的具体详情如下:
包路径:org.apache.dubbo.common.logger.Logger
类名称:Logger
方法名:debug
[英]Logs a message with debug log level.
[中]使用调试日志级别记录消息。
代码示例来源:origin: apache/incubator-dubbo
@Override
public void debug(Throwable e) {
try {
logger.debug(e);
} catch (Throwable t) {
}
}
代码示例来源:origin: apache/incubator-dubbo
@Override
public void debug(Throwable e) {
try {
logger.debug(e);
} catch (Throwable t) {
}
}
代码示例来源:origin: apache/incubator-dubbo
@Override
public void debug(String msg) {
logger.debug(msg);
}
代码示例来源:origin: apache/incubator-dubbo
@Override
public void debug(String msg, Throwable cause) {
logger.debug(msg, cause);
}
代码示例来源:origin: apache/incubator-dubbo
@Override
public void debug(String msg, Throwable cause) {
logger.debug(msg, cause);
}
代码示例来源:origin: apache/incubator-dubbo
@Override
public void debug(String msg) {
logger.debug(msg);
}
代码示例来源:origin: apache/incubator-dubbo
public static void debug(Logger logger, String msg, Throwable e) {
if (logger == null) {
return;
}
if (logger.isDebugEnabled()) {
logger.debug(msg, e);
}
}
代码示例来源:origin: apache/incubator-dubbo
@Override
public void debug(String msg) {
try {
logger.debug(appendContextMessage(msg));
} catch (Throwable t) {
}
}
代码示例来源:origin: apache/incubator-dubbo
public static void debug(Logger logger, String msg) {
if (logger == null) {
return;
}
if (logger.isDebugEnabled()) {
logger.debug(msg);
}
}
代码示例来源:origin: apache/incubator-dubbo
@Override
public void debug(String msg, Throwable e) {
try {
logger.debug(appendContextMessage(msg), e);
} catch (Throwable t) {
}
}
代码示例来源:origin: apache/incubator-dubbo
@Override
public void debug(String msg, Throwable e) {
try {
logger.debug(appendContextMessage(msg), e);
} catch (Throwable t) {
}
}
代码示例来源:origin: apache/incubator-dubbo
public static void debug(Logger logger, Throwable e) {
if (logger == null) {
return;
}
if (logger.isDebugEnabled()) {
logger.debug(e);
}
}
代码示例来源:origin: apache/incubator-dubbo
@Override
public void debug(String msg) {
try {
logger.debug(appendContextMessage(msg));
} catch (Throwable t) {
}
}
代码示例来源:origin: apache/incubator-dubbo
public static void debug(Logger logger, Throwable e) {
if (logger == null) {
return;
}
if (logger.isDebugEnabled()) {
logger.debug(e);
}
}
代码示例来源:origin: apache/incubator-dubbo
public static void debug(Logger logger, String msg, Throwable e) {
if (logger == null) {
return;
}
if (logger.isDebugEnabled()) {
logger.debug(msg, e);
}
}
代码示例来源:origin: apache/incubator-dubbo
public static void debug(Logger logger, String msg) {
if (logger == null) {
return;
}
if (logger.isDebugEnabled()) {
logger.debug(msg);
}
}
代码示例来源:origin: apache/incubator-dubbo
private void decode(Object message) {
if (message != null && message instanceof Decodeable) {
try {
((Decodeable) message).decode();
if (log.isDebugEnabled()) {
log.debug("Decode decodeable message " + message.getClass().getName());
}
} catch (Throwable e) {
if (log.isWarnEnabled()) {
log.warn("Call Decodeable.decode failed: " + e.getMessage(), e);
}
} // ~ end of catch
} // ~ end of if
} // ~ end of method decode
代码示例来源:origin: apache/incubator-dubbo
private void decode(Object message) {
if (message != null && message instanceof Decodeable) {
try {
((Decodeable) message).decode();
if (log.isDebugEnabled()) {
log.debug("Decode decodeable message " + message.getClass().getName());
}
} catch (Throwable e) {
if (log.isWarnEnabled()) {
log.warn("Call Decodeable.decode failed: " + e.getMessage(), e);
}
} // ~ end of catch
} // ~ end of if
} // ~ end of method decode
代码示例来源:origin: apache/incubator-dubbo
@Override
public synchronized void process(ConfigChangeEvent event) {
if (logger.isDebugEnabled()) {
logger.debug("Notification of tag rule, change type is: " + event.getChangeType() + ", raw rule is:\n " +
event.getValue());
}
try {
if (event.getChangeType().equals(ConfigChangeType.DELETED)) {
this.tagRouterRule = null;
} else {
this.tagRouterRule = TagRuleParser.parse(event.getValue());
}
} catch (Exception e) {
logger.error("Failed to parse the raw tag router rule and it will not take effect, please check if the " +
"rule matches with the template, the raw rule is:\n ", e);
}
}
代码示例来源:origin: apache/incubator-dubbo
@Override
public synchronized void process(ConfigChangeEvent event) {
if (logger.isDebugEnabled()) {
logger.debug("Notification of tag rule, change type is: " + event.getChangeType() + ", raw rule is:\n " +
event.getValue());
}
try {
if (event.getChangeType().equals(ConfigChangeType.DELETED)) {
this.tagRouterRule = null;
} else {
this.tagRouterRule = TagRuleParser.parse(event.getValue());
}
} catch (Exception e) {
logger.error("Failed to parse the raw tag router rule and it will not take effect, please check if the " +
"rule matches with the template, the raw rule is:\n ", e);
}
}
内容来源于网络,如有侵权,请联系作者删除!