Skip to content

Instantly share code, notes, and snippets.

@esamson
Created January 20, 2013 14:23
Show Gist options
  • Save esamson/4579031 to your computer and use it in GitHub Desktop.
Save esamson/4579031 to your computer and use it in GitHub Desktop.
Improved NetBeans code template for generating an SLF4J Logger declaration. See http://wiki.netbeans.org/SLF4JCodeTemplate for instructions on how to use.
private static final ${LOG_TYPE type="org.slf4j.Logger" default="Logger" editable=false} log =
${LOG_FACT type="org.slf4j.LoggerFactory" default="LoggerFactory" editable=false}.getLogger(${classVar editable="false" currClassName default="getClass()"}.class);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment