fixed bug: in logs package check if platform is windows

fixed bug in logs package, if the platform is windows, log in terminal won't be display in many colors.