views:

13

answers:

2

I'm trying to log my messages which are sent using a Metro stack into console. Could not find any way.

A: 

Didn't mention the language but assuming Java, could you not just use something like Log4J e.g.

service = new Service();
port = service.getXxxPort();
result = port.doXxx(data);

Log.info("Result is " + result.getResult().toString());

where getResult is just a method on the return object.

nzpcmad