문제

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