LTGLambChops, the latest roboRIO image has logging functionality that could help you, once it becomes available. There's a patch under review at
https://usfirst.collab.net/gerrit/997/ that adds language-specific interfaces for it. I'm not sure if WPILib works with the new image yet.