I'm trying to capture a panic that's occurring in my NT service. I know it's dumped to stderr, but how can I capture to a log or even eventviewer? I know that I can capture my panic's by using defer/recover - but that doesn't work for when a panic is thrown in another library.
Any suggestions?