• Post Reply Bookmark Topic Watch Topic
  • New Topic

Logging in micro edition (com.sun.midp.log package)

 
mohsen fakhary
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I want to log exceptions in a mobile application when it's running on a mobile phone (and not on a simulator).
I noticed I have access to a package named com.sun.midp.log in NetBeans.
But I couldn't find how to use it.
There are 2 classes in there: Logging and LogChannels.
I log the exception using Logging class
On the simulator it uses System.out but on a phone it stops the application and just prompts me "Application Error". I can't find any more details.

Any idea how does it work?

Thank you in advance
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!