summaryrefslogtreecommitdiff
path: root/py/python/Ice.py
diff options
context:
space:
mode:
Diffstat (limited to 'py/python/Ice.py')
-rw-r--r--py/python/Ice.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/py/python/Ice.py b/py/python/Ice.py
index 314bac3d66d..c3f5486d5de 100644
--- a/py/python/Ice.py
+++ b/py/python/Ice.py
@@ -315,6 +315,25 @@ class ObjectAdapterI(ObjectAdapter):
self._impl.setLocator(loc)
#
+# Logger wrapper.
+#
+class LoggerI(Logger):
+ def __init__(self, impl):
+ self._impl = impl
+
+ def _print(self, message):
+ return self._impl._print(message)
+
+ def trace(self, category, message):
+ return self._impl.trace(category, message)
+
+ def warning(self, message):
+ return self._impl.warning(message)
+
+ def error(self, message):
+ return self._impl.error(message)
+
+#
# Properties wrapper.
#
class PropertiesI(Properties):