Thursday, September 25, 2008

MicroLog

Description
MicroLog is a scaleable logging library for use with Java ME (aka J2ME), compatible with Log4j. It has support for logging to console, to RMS, a file or a Form. The RMS logs are availble through a MIDlet. It also has flexible support for formatting.

Comments
  • Easy to setup. Configuration via the application descriptor, dependency injection or a property file.
  • Similar to Log4j, but built from scratch.
  • Small
  • Fast
  • Many different 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.
    • 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.
  • Different Formatters for different needs
    • SimpleFormatter - Simple, fast and very small.
    • ConfigurableFormatter - A simple, but yet configurable formatter.
    • PatternFormatter - Decide exactly how you want to format your log messages. Inspired by the PatternLayout found in Log4j.


Rating
Not yet rated


License
Apache Software License, Version 2.0

Links
Site
Download
Download demo project
Demo

No comments: