For example, in Android there's the Log
class I could use for code like the following one:
android.util.Log.d(tag, msg);
Is there anything equivalent in BlackBerry (event logger)? If so, can you provide an example?
For example, in Android there's the Log
class I could use for code like the following one:
android.util.Log.d(tag, msg);
Is there anything equivalent in BlackBerry (event logger)? If so, can you provide an example?
If you were using the Java API, then you might use the Blackberry "EventLogger" class:
http://www.blackberry.com/developers/docs/4.3.0api/net/rim/device/api/system/EventLogger.html
http://btsc.webapps.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB05349
There is no helper class like Log (Android) in blackberry. You will have to make your own version of it.
If you want to log messages to the eventlogger in blackberry (accessible by pressing ALT+LGLG) , you can use the eventlogger class