This commit is contained in:
@@ -290,8 +290,7 @@ public final class SncpClient {
|
|||||||
MessageRecord message = messageClient.createMessageRecord(targetTopic, null, reqbytes);
|
MessageRecord message = messageClient.createMessageRecord(targetTopic, null, reqbytes);
|
||||||
final String tt = targetTopic;
|
final String tt = targetTopic;
|
||||||
if (logger.isLoggable(Level.FINER)) {
|
if (logger.isLoggable(Level.FINER)) {
|
||||||
Object n = action.method.getDeclaringClass().getSimpleName() + "." + action.method.getName();
|
message.attach(Utility.append(new Object[]{action.actionName()}, params));
|
||||||
message.attach(Utility.append(new Object[]{n}, params));
|
|
||||||
} else {
|
} else {
|
||||||
message.attach(params);
|
message.attach(params);
|
||||||
}
|
}
|
||||||
@@ -608,6 +607,10 @@ public final class SncpClient {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String actionName() {
|
||||||
|
return method.getDeclaringClass().getSimpleName() + "." + method.getName();
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "{" + actionid + "," + (method == null ? "null" : method.getName()) + "}";
|
return "{" + actionid + "," + (method == null ? "null" : method.getName()) + "}";
|
||||||
|
|||||||
Reference in New Issue
Block a user