I mostly created this UDF because I needed something good for logging to either console or file, or both.
Most of the defaults in the file are what I commonly use for most of my projects, but you can set them by calling the setting functions.
The UDF file is documented as to what the functions do.
Enjoy....
p.s. - to make it more Vista/7 friendly, you can use the _SetLogPath function to another folder if you are running your application from the program files directory without elevat