Question: I have seen like a million different log functions , like `log.i` , `log.v` , `log.d` .

I just want to output a simple string on the log some times in my code to see if everything is working ok for debugging.

What is the clean way to do that?

Answer: 
You can use Log to track the logs in your application code.

Log API is for sending log output.

Generally, use the Log.v() Log.d() Log.i() Log.w() and Log.e() methods.

The **order in terms of verbosity(wordiness)**, from least to most is **ERROR, WARN, INFO, DEBUG, VERBOSE**. Otherwise more or less they are same.

Verbose should never be compiled into an application except during development. 

Debug logs are compiled in but stripped at runtime.

Error, warning and info logs are always kept.
example

```
String TAG = "value of i = ";

for(int i = 0; i<=10 i++)
{
  Log.i(TAG, i+"");
}

```

this will print the 10 numbers in your log.i `(info)`.

![enter image description here](https://i.stack.imgur.com/Hkjb1.png)

```
log.d

```

is for debug

```
log.e

```

is for error

and so on. here is a link to study more about [log](http://developer.android.com/reference/android/util/Log.html)