First work on WIndows support: logging
Windows logging; directing the logging to a file