summaryrefslogtreecommitdiff
path: root/cppe/demo/IceE/hello/Client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cppe/demo/IceE/hello/Client.cpp')
-rw-r--r--cppe/demo/IceE/hello/Client.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/cppe/demo/IceE/hello/Client.cpp b/cppe/demo/IceE/hello/Client.cpp
index 991a8e9f54a..9144ce0ddb0 100644
--- a/cppe/demo/IceE/hello/Client.cpp
+++ b/cppe/demo/IceE/hello/Client.cpp
@@ -67,11 +67,13 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator)
if(c == 't')
{
twoway->sayHello();
+ communicator->getLogger()->warning("a message");
+ communicator->getLogger()->error("a message");
}
else if(c == 'o')
{
oneway->sayHello();
- }
+ }
else if(c == 'O')
{
batchOneway->sayHello();
@@ -79,7 +81,7 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator)
else if(c == 'f')
{
communicator->flushBatchRequests();
- }
+ }
else if(c == 'T')
{
if(timeout == -1)