本文整理了Java中com.alibaba.dubbo.common.logger.Logger.isTraceEnabled()
方法的一些代码示例,展示了Logger.isTraceEnabled()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Logger.isTraceEnabled()
方法的具体详情如下:
包路径:com.alibaba.dubbo.common.logger.Logger
类名称:Logger
方法名:isTraceEnabled
[英]跟踪信息是否开启
[中]跟踪信息是否开启
代码示例来源:origin: com.alibaba/dubbo
@Override
public boolean isTraceEnabled() {
try {
return logger.isTraceEnabled();
} catch (Throwable t) {
return false;
}
}
代码示例来源:origin: remoting/dubbox
public boolean isTraceEnabled() {
try {
return logger.isTraceEnabled();
} catch (Throwable t) {
return false;
}
}
代码示例来源:origin: linux-china/dubbo3
@Override
public boolean isTraceEnabled() {
return logger.isTraceEnabled();
}
代码示例来源:origin: com.alibaba/dubbo-common
@Override
public boolean isTraceEnabled() {
try {
return logger.isTraceEnabled();
} catch (Throwable t) {
return false;
}
}
代码示例来源:origin: linux-china/dubbo3
@Override
public boolean isTraceEnabled() {
return logger.isTraceEnabled();
}
代码示例来源:origin: remoting/dubbox
public boolean isTraceEnabled() {
try {
return logger.isTraceEnabled();
} catch (Throwable t) {
return false;
}
}
代码示例来源:origin: QianmiOpen/dubbo-remoting-netty4
@Override
public boolean isTraceEnabled() {
return logger.isTraceEnabled();
}
代码示例来源:origin: com.alibaba/dubbo
public static void trace(Logger logger, String msg, Throwable e) {
if (logger == null) {
return;
}
if (logger.isTraceEnabled()) {
logger.trace(msg, e);
}
}
代码示例来源:origin: com.alibaba/dubbo
public static void trace(Logger logger, String msg) {
if (logger == null) {
return;
}
if (logger.isTraceEnabled()) {
logger.trace(msg);
}
}
代码示例来源:origin: linux-china/dubbo3
public static void trace(Logger logger, Throwable throwable) {
if (logger == null) {
return;
}
if (logger.isTraceEnabled()) {
logger.trace(throwable);
}
}
代码示例来源:origin: linux-china/dubbo3
public static void trace(Logger logger, String msg, Throwable e) {
if (logger == null) {
return;
}
if (logger.isTraceEnabled()) {
logger.trace(msg, e);
}
}
代码示例来源:origin: linux-china/dubbo3
public static void trace(Logger logger, Throwable throwable) {
if (logger == null) {
return;
}
if (logger.isTraceEnabled()) {
logger.trace(throwable);
}
}
代码示例来源:origin: linux-china/dubbo3
public static void trace(Logger logger, String msg, Throwable e) {
if (logger == null) {
return;
}
if (logger.isTraceEnabled()) {
logger.trace(msg, e);
}
}
代码示例来源:origin: com.alibaba/dubbo-common
public static void trace(Logger logger, String msg, Throwable e) {
if (logger == null) {
return;
}
if (logger.isTraceEnabled()) {
logger.trace(msg, e);
}
}
代码示例来源:origin: com.alibaba/dubbo-common
public static void trace(Logger logger, Throwable throwable) {
if (logger == null) {
return;
}
if (logger.isTraceEnabled()) {
logger.trace(throwable);
}
}
代码示例来源:origin: com.alibaba/dubbo
public static void trace(Logger logger, Throwable throwable) {
if (logger == null) {
return;
}
if (logger.isTraceEnabled()) {
logger.trace(throwable);
}
}
代码示例来源:origin: linux-china/dubbo3
public static void trace(Logger logger, String msg) {
if (logger == null) {
return;
}
if (logger.isTraceEnabled()) {
logger.trace(msg);
}
}
代码示例来源:origin: linux-china/dubbo3
public static void trace(Logger logger, String msg) {
if (logger == null) {
return;
}
if (logger.isTraceEnabled()) {
logger.trace(msg);
}
}
代码示例来源:origin: com.alibaba/dubbo-common
public static void trace(Logger logger, String msg) {
if (logger == null) {
return;
}
if (logger.isTraceEnabled()) {
logger.trace(msg);
}
}
代码示例来源:origin: remoting/dubbox
public void encode(Channel channel, ChannelBuffer buffer, Object msg) throws IOException {
if (msg instanceof Request) {
encodeRequest(channel, buffer, (Request) msg);
} else if (msg instanceof Response) {
encodeResponse(channel, buffer, (Response) msg);
} else {
super.encode(channel, buffer, msg);
}
// TODO modified by lishen
// System.out.println(">>>>>>>>>>>>>>>>>>>>>> the resulting byte size of encoding is " + buffer.readableBytes());
if (logger.isTraceEnabled()) {
logger.trace("the resulting byte size of encoding is " + buffer.readableBytes());
}
}
内容来源于网络,如有侵权,请联系作者删除!