[Quickfix-developers] Propagating log events to the application?
Brought to you by:
orenmnero
From: Edde <edd...@gm...> - 2008-03-17 11:07:27
|
Hi Guys, Is it possible to propagate log events to the application layer? What I need is a way to propagate low level problems (for example connection problems) to the application so that users have a way of knowing what's going on. My current solution is to customize QuickFix by overriding the onEvent(String message) method in FileLog to capture the relevant messages and then passing them on to my application. However, in the future I'd rather not have build my own version of QuickFix everytime there is a new version so is there a different way to do what I want? The other option is to create my own subclass of FileLog but from what I can understand this also means I need to override the FileLogFactory to actually create my own instance of FileLog. Cheers, /Eddie |