Add support for windows logging