diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2006-12-11 14:58:49 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2006-12-11 14:58:49 +0000 |
commit | 2246ef4753f62af6dd49800f217017e63c9a80d8 (patch) | |
tree | 0e8389692f367b6131d6be60a290b0d26270b4e6 /cpp/src/Ice/Instance.cpp | |
parent | Added LoggerPlugin (diff) | |
download | ice-2246ef4753f62af6dd49800f217017e63c9a80d8.tar.bz2 ice-2246ef4753f62af6dd49800f217017e63c9a80d8.tar.xz ice-2246ef4753f62af6dd49800f217017e63c9a80d8.zip |
Added Logger Plugin
Diffstat (limited to 'cpp/src/Ice/Instance.cpp')
-rw-r--r-- | cpp/src/Ice/Instance.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/Ice/Instance.cpp b/cpp/src/Ice/Instance.cpp index fe3a13ff113..8cf07bdf2e4 100644 --- a/cpp/src/Ice/Instance.cpp +++ b/cpp/src/Ice/Instance.cpp @@ -743,6 +743,12 @@ IceInternal::Instance::finishSetup(int& argc, char* argv[]) assert(pluginManagerImpl); pluginManagerImpl->loadPlugins(argc, argv); + LoggerPtr logger = pluginManagerImpl->getLogger(); + if(logger) + { + _initData.logger = logger; + } + // // Get default router and locator proxies. Don't move this // initialization before the plug-in initialization!!! The proxies |