I am stuck and am getting an error somewhere within my C code, and I do not know where. I would like to use the simple `Log.i( tag, msg )` or `Log.e( tag, msg )` commands. I have looked around online and have found two other questions on SO but neither of them deal with exactly what I'm saying. 

[This method is not what I'm looking for...](https://stackoverflow.com/questions/4846080/how-can-i-effectively-debug-c-code-thats-wrapped-with-jni-in-eclipse-android)

[And this is exactly what I'm looking for, but in C++, not C](https://stackoverflow.com/a/3902495/1435712)

If the syntax in C++/C is the same, I'm sorry but I have little experience in both.