You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Leos Literak <li...@centrum.cz> on 2002/01/29 14:00:16 UTC

IDEA live template

Hii,

now I will contribute something more useful [:-)]

Here is a live template for IDE IntelliJ Idea.
If you install it, just type log4j plus your shortcut
key (tab,enter,space - as defined in options).
It will automatically create new Category with
this class name filled in. Very handy.

log4j<tab>
=>
static org.apache.log4j.Category log =
org.apache.log4j.Category.getInstance(MyClass.class);

     Leo