summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2015-05-02 12:25:43 +0200
committerJan Holesovsky <kendy@collabora.com>2015-05-02 12:29:09 +0200
commit78f3ae65543ac8e64da167c5347372b1656542d0 (patch)
tree82d119b633fb0be4ace2b4a10f1cd471094144d2 /cppuhelper
parent6f56ad53f0fa7108b8eaead3d6995acce0674f69 (diff)
cppuhelper: Allow logging the used services / constructors.
Change-Id: I9090561032e2f6e97eb74b8f1e8cd1698171e6ea
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/shlib.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/cppuhelper/source/shlib.cxx b/cppuhelper/source/shlib.cxx
index dc0c214baedc..258e9cbdb557 100644
--- a/cppuhelper/source/shlib.cxx
+++ b/cppuhelper/source/shlib.cxx
@@ -240,6 +240,7 @@ void cppuhelper::detail::loadSharedLibComponentFactory(
}
if (constructor.isEmpty()) {
rtl::OUString sym;
+ SAL_INFO("cppuhelper.shlib", "prefix=" << prefix << " implementation=" << implementation << " uri=" << uri);
if (prefix == "direct") {
sym = implementation.replace('.', '_') + "_" COMPONENT_GETFACTORY;
} else if (!prefix.isEmpty()) {
@@ -263,6 +264,7 @@ void cppuhelper::detail::loadSharedLibComponentFactory(
reinterpret_cast<component_getFactoryFunc>(fp), uri, implementation,
serviceManager);
} else {
+ SAL_INFO("cppuhelper.shlib", "constructor=" << constructor);
oslGenericFunction fp = mod.getFunctionSymbol(constructor);
if (fp == 0) {
throw css::loader::CannotActivateFactoryException(