You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@eventmesh.apache.org by GitBox <gi...@apache.org> on 2022/11/28 05:16:45 UTC

[GitHub] [incubator-eventmesh] jonyangx commented on a diff in pull request #2278: [ISSUE #2254] Fixes ISSUE #2254.

jonyangx commented on code in PR #2278:
URL: https://github.com/apache/incubator-eventmesh/pull/2278#discussion_r1033134719


##########
eventmesh-runtime/src/test/java/org/apache/eventmesh/runtime/demo/CCSubClient.java:
##########
@@ -44,7 +44,7 @@ public static void main(String[] args) throws Exception {
         subClient.registerBusiHandler(new ReceiveMsgHook() {
             @Override
             public void handle(Package msg, ChannelHandlerContext ctx) {
-                logger.error("Received message: -----------------------------------------" + msg.toString());
+                logger.error("Received message: {}", msg);

Review Comment:
   suggest implement Package class  toString() method.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org