Pregunta

In QuickFIX C++, is the logging to a file blocking or it is done in a separate thread?

If it is blocking, is there a configuration parameter to make it async?

¿Fue útil?

Solución

The QuickFIX FileLog is not asynchronous and there's no configuration setting to make it so. However, it's not difficult to implement your own Log implementation with that behavior (possibly integrating an existing logging framework that does support asynchronous logging). Look at the existing Log implementations to see how to do this.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top