Microlog 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.
Microlog is licensed under The Apache Software License, Version 2.0 so it is possible to link and distribute commercial software with this library.
The Microlog4SPOT code is now merged into the Microlog code. Consequently it is now possible to use Microlog on Sun SPOT devices.
Read about the original Microlog4SPOT here:
Read more about Sun SPOT devices: