Right now I only know one level of logging: log("some format %d", someValue); Turns out this outputs to the DEBUG level in logcat. Does anyone know how to output to INFO or other level of logcat?
Also, by default the above log() call will output something like below:
But then when the game starts up, it also automatically output a line:
01-20 21:15:54.260 3472-3498/com.blackmirror.chopsticks D/cocos2d-x debug info: create rendererRecreatedListener for GLProgramState
Since I don’t want to see this line in my logcat, I was forced to add a “DEBUG” prefix to all my log() calls like log("DEBUG my real log message here"), which is ugly. Does anyone has a good way to filter out the aforementioned automatically printed log line?