Archived

This forum has been archived. Please start a new discussion on GitHub.

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

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.

Comments

  • benoit
    benoit Rennes, France

    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.