Re: Logging in Java ME
[email protected] Sun, 14 Sep 2008 23:53:17 PDT
| Newsgroups | gmane.comp.java.sun.kvm |
|---|---|
| Message-ID | <12090686.159221221461628444.JavaMail.tomcat@sdcst12.sjc.collab.net> |
We have worked very hard to improve Microlog. One of the most important additions is the PatternFormatter, which works like the PatternLayout found in Log4j. We have also added a lot of new appenders: On-device appenders =================== -ConsoleAppender - Appends to the console, e.g. System.out.' -RecordStoreAppender - Appends to the RecordStore. -FileAppender - Appends to a file using a FileConnection. -CanvasAppender - Appends to a Canvas. -FormAppender - Appends to a Form. Off-device appenders ==================== -BluetoothSerialAppender - Appends to a Bluetooth serial connection (btspp). -SerialAppender - Appends to a serial port (CommConnection). -SmsAppender - Appends to a cyclic buffer and send the buffer as an SMS. -MmsAppender (for MMS and/or e-mail) - Appends to a cyclic buffer and send the buffer as an SMS. -DatagramAppender - Appends to a datagram and send it using UDP. -SyslogAppender - Appends to syslog server. -SocketAppender - Appends to a socket connection (also SSL). -S3FileAppender - Appends to a file, as in the FileAppender, and stores the file on Amazon S3. -S3BufferAppender - Appends to a cyclic buffer and stores it as a file on Amazon S3. We have also made a Bluetooth server that is executable on both Java ME and Java SE. The setup is dead easy: 1. Pair the Bluetooth devices, e.g. your mobile phone and your laptop. 2. Start the server on your laptop. 3. Start your MIDlet with Microlog included. That it is! Now you could watch your log on your laptop :) [Message sent by forum member 'jaywayjohan' (jaywayjohan)] http://forums.java.net/jive/thread.jspa?messageID=299285 =========================================================================== To unsubscribe, send email to [email protected] and include in the body of the message "signoff KVM-INTEREST". For general help, send email to [email protected] and include in the body of the message "help".