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.

有帮助吗?

解决方案

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!

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top