Logging in J2ME

后端 未结 8 2190
不知归路
不知归路 2020-12-08 16:25

What logging solutions exist for j2me?

I\'m specifically interested in easily excluding logging for \"release\" version, to have a smaller package & memory foot

相关标签:
8条回答
  • 2020-12-08 17:08

    MicroLog is sure bet. It is a small logging library for Java ME (J2ME) like Log4j. It has support for logging to console, file, RecordStore, Canvas, Form, Bluetooth, a serial port (Bluetooth, IR, USB), Socket(incl SSL), UDP, Syslog, MMS, SMS, e-mail or to Amazon S3.

    http://sourceforge.net/projects/microlog/

    0 讨论(0)
  • 2020-12-08 17:10

    LWUIT framework of the J2ME provide the Logging form which can have a log the statement inside it. You can add the log at each and every place you think may generate the exception.

    Example : Log.getInstance().showLog(); By adding the above line you can able to track the logging in the J2ME devices.

    0 讨论(0)
提交回复
热议问题