I have some code to show, but I'm not sure if I should post it or not. It's not a product/project, but something I use all the time. It's a function that logs to a file. I also use it for debugging because it can tell you what method the error came from. It uses reflection. It's just for developers who might be using vb.net. But I'm sure you could take the code as a skeleton and use it in some other language.