wrote:
I see that you have the good level of abstraction,
since you use graphviz to visualize dependency graph. and it s great !!!
What on earth are you talking about. Are you referring to an article somewhere ?
I don't really understand what it is you need to log. I would write a class with static methods that you can then call from where-ever you like to provide logging. I actually wrote an article for WDJ years ago that used windows messages between applications to provide logging in real time in a release build if my logging app was running to show the logs, but if you want to write them to files, then yes, you want to abstract out the code that handles the logging, and call it as needed.