Skip to content

Instantly share code, notes, and snippets.

@nshaw
Created October 30, 2012 15:22
Show Gist options
  • Select an option

  • Save nshaw/3980895 to your computer and use it in GitHub Desktop.

Select an option

Save nshaw/3980895 to your computer and use it in GitHub Desktop.
IntelliJ Live Template
private static Log _log =
LogFactoryUtil.getLog($NAME$.class);
@nshaw
Copy link
Author

nshaw commented Oct 30, 2012

Use edit variables to setup NAME = className()

@nshaw
Copy link
Author

nshaw commented Oct 30, 2012

My shortcut is log, start typing log, hit CTRL-J and it auto-fills the template, automatically formats, and does the imports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment