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.

Was it helpful?

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!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top