JLog /


Jlog is a minor-mode (jlog-mode command) for emacs 20.x or 21.x

This is a set of facilities for the java-mode :

List of commands :

jlog-insert-message : Insert a log message, the standard System.out.println is set by default.

The trace contains by default a level of message, the number of trace function, the current package and your message.

You can update the format with the `jlog-current-format' variable. The level of the message is just a string with a set of '*' caracters.

jlog-increase-level : Increase the level of each message (interesting for debugging)

jlog-decrease-level : Decrease the level of each message (interesting for debugging)

jlog-delete-message : Delete the current log message

jlog-delete-message-region : Delete all log message for the region

jlog-delete-message-buffer : Delete all log message for the current buffer

List of keys :

\C-cm : Call the jlog-insert-message command

\C-c+ : Call the jlog-increase-level command

\C-c- : Call the log-decrease-level command

\C-cp : Call the jlog-delete-message command

Example :

\C-cm: Test1

//--- jlog-trace do not remove it !

System.out.println("(0) jason ServerLoader : Test1");

\C-cp


Back to the djefer's site