O'Reilly logo

LWUIT 1.1 for Java ME Developers by Biswajit Sarkar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Logging with LWUIT

The Log class provides a framework for recording information at runtime. By default, the specified information is logged using the Record Management System (RMS). If the device supports the File Connection API defined by JSR 75, then the file system is used for logging. The recorded messages can be retrieved and displayed to provide insight into the behavior of a program.

There are four levels at which logging can be done: DEBUG, INFO, WARNING, and ERROR. The lowest (and default) level is debug, and error is the highest. The basic function of this stratification is to establish a threshold so that only messages allocated to a level equal to or higher than this threshold are logged. If the level for logging has been set at debug ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required