summaryrefslogtreecommitdiff
path: root/cpp/demo/Ice/plugin/LoggerPluginI.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2014-08-14 16:38:21 -0400
committerBernard Normier <bernard@zeroc.com>2014-08-14 16:38:21 -0400
commit18748d529095d3ab86e3dc42abfd2b5f4946f9a7 (patch)
tree1f343c0790d98e7fbcff50ad94ea5c1e272b2d4f /cpp/demo/Ice/plugin/LoggerPluginI.cpp
parentFixed ice_invocationTimout usage in IceDiscovery hello demos (diff)
downloadice-18748d529095d3ab86e3dc42abfd2b5f4946f9a7.tar.bz2
ice-18748d529095d3ab86e3dc42abfd2b5f4946f9a7.tar.xz
ice-18748d529095d3ab86e3dc42abfd2b5f4946f9a7.zip
Initial merge for ICE-2400:
- added new Logger admin facet (C++ only) - this Logger facet allows remote application to retrieve the Ice log file, including recently logged events, with optional filters - this logger facet also allows remote applications to attach RemoteLogger objects to get new logs as they are generated - added new "show log" feature to icegridadmin, to retrieve Ice log file of Ice server (not yet implemented for IceGrid registry and node)
Diffstat (limited to 'cpp/demo/Ice/plugin/LoggerPluginI.cpp')
-rw-r--r--cpp/demo/Ice/plugin/LoggerPluginI.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/cpp/demo/Ice/plugin/LoggerPluginI.cpp b/cpp/demo/Ice/plugin/LoggerPluginI.cpp
index 5324b6f380d..5dc2d8c9798 100644
--- a/cpp/demo/Ice/plugin/LoggerPluginI.cpp
+++ b/cpp/demo/Ice/plugin/LoggerPluginI.cpp
@@ -42,14 +42,20 @@ public:
cout << "ERROR: " << message << endl;
}
+ virtual string
+ getPrefix()
+ {
+ return "";
+ }
+
virtual Ice::LoggerPtr
cloneWithPrefix(const std::string&)
{
- return new LoggerI();
+ return new LoggerI;
}
};
-};
+}
extern "C"
{