Question

I looked at the Log.h file, it seems like I need to implement my own log class inherit from the interface to log messages to file I am just wondering if there is any existing class to use to log messages to file, I know there is a ScreenLogFactory, but I am not printing them onto screen.

Thank you.

Était-ce utile?

La solution

You can certainly implement your own custom logger, but for a simple case there is already a FIX::FileLogFactory class that you can use to have simple file logger.

Also check the logging configuration document.

Hope it helps. Good Luck!

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top