C++ how to pass Logger properly to classes???

in Help Center
I have a library with number of classes which can work independently from Ice/IceGrid. I tried to pass Logger as const Ice::LoggerPtr& loggerPtr
but in some classes it does not work at all.
I.e. implementation of ice interfaces/operations just wrappers for that independent classes.
0
Best Answer
-
benoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
Hi,
It's not clear what exactly you're trying to do with the logger. Can you provide a small code sample that shows what is not working?
Cheers,
Benoit.0
Answers
Hi,
It's not clear what exactly you're trying to do with the logger. Can you provide a small code sample that shows what is not working?
Cheers,
Benoit.