---
title: "NSLog和printf的区别"
author: "goAheadtw"
date: "2014-07-18T09:22:27Z"
tags: []
categories: ["编程语言"]
slug: "nslog-printf"
draft: false
lastmod: "2014-07-18T09:22:27Z"
id: 2093492
url: "https://goaheadtw.iteye.com/blog/2093492"
---

1\. 把设备插到Mac上，打开XCode，依次点击 Window，Organizer，Devices，选中设备，选择Console，这里能看到NSLog的打的日志，但是看不到printf打的日志。