ENH: upated logger to log to NTEvents if on windows platform