api: Log: support on Windows