---
title: "Andorid下進行Log 記錄"
author: "luckfox"
date: "2011-04-13T14:25:30Z"
tags: []
categories: ["移动开发"]
slug: "andorid-log"
draft: false
lastmod: "2011-04-13T14:25:30Z"
id: 1001621
url: "https://luckfox.iteye.com/blog/1001621"
---

詳細見
http://developer.android.com/reference/android/util/Log.html

simple example:

private static final String TAG = "MyActivity";

Log.v(TAG, "index=" + i);