Skip to content

Instantly share code, notes, and snippets.

@kubek2k
Created February 8, 2016 12:56
Show Gist options
  • Save kubek2k/4915afe6f8acfef1b007 to your computer and use it in GitHub Desktop.
Save kubek2k/4915afe6f8acfef1b007 to your computer and use it in GitHub Desktop.
Copy this, go to livetemplates, select "other" and paste
<template name="log" value="private static final org.slf4j.Logger LOGGER = org.slf4j.LoggerFactory.getLogger($CLASS_NAME$.class);" description="Creates slf4j logger" toReformat="false" toShortenFQNames="true">
<variable name="CLASS_NAME" expression="className()" defaultValue="" alwaysStopAt="false" />
<context>
<option name="JAVA_DECLARATION" value="true" />
</context>
</template>
@kubek2k
Copy link
Author

kubek2k commented Feb 8, 2016

this is an intellij live template

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