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

aeugenaeugen Eugeny RoOrganization: NoneProject: Client-server for remote face recognition SDKMember

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.

Best Answer

  • benoitbenoit Rennes, FranceBenoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Accepted Answer

    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.

Answers

  • benoitbenoit Rennes, FranceBenoit FoucherOrganization: ZeroC, Inc.Project: IceAdministrators, ZeroC Staff ZeroC Staff
    Accepted Answer

    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.

Sign In or Register to comment.