Microlog Instrument

Because of the missing reflection on J2ME it is not possible for a logger to identify the class name, the method name and source line number of the current log statement.

If the only information you need is the class name, then you can also consider to initialize the logger with the Logger.getLogger(Class clazz) method.

This implementation is an instrumentor for Jour and replaces occurrences of log methods with corresponding log statements including these information.

Together with Jour it can be executed from the command line, included in Ant and most conveniently used with the Jour Maven plugin.