diff options
author | Mark Spruiell <mes@zeroc.com> | 2005-01-13 16:53:29 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2005-01-13 16:53:29 +0000 |
commit | c67da63433840080ca31c5524e5b42752bcf7e7e (patch) | |
tree | 9307390d50f734d36d9ed1f1856fc34d3d502c0f /py/python/Ice.py | |
parent | Added UNIX-specific part for Logger::print() operation. Fixed bug in (diff) | |
download | ice-c67da63433840080ca31c5524e5b42752bcf7e7e.tar.bz2 ice-c67da63433840080ca31c5524e5b42752bcf7e7e.tar.xz ice-c67da63433840080ca31c5524e5b42752bcf7e7e.zip |
added missing LoggerI
Diffstat (limited to 'py/python/Ice.py')
-rw-r--r-- | py/python/Ice.py | 19 |
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): |