Skip to content

Instantly share code, notes, and snippets.

@raulmontemayor
Created September 3, 2014 17:37
Show Gist options
  • Save raulmontemayor/54c36d066e0882f8bebf to your computer and use it in GitHub Desktop.
Save raulmontemayor/54c36d066e0882f8bebf to your computer and use it in GitHub Desktop.
Eclipse Template - Import and create slf4j log
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<templates>
<template autoinsert="true" context="java" deleted="false" description="Import and create slf4j log" enabled="true" name="getLog">
${:import (org.slf4j.Logger, org.slf4j.LoggerFactory)}
/** Log de ${enclosing_type} */
private static final Logger LOG = LoggerFactory.getLogger(${enclosing_type}.class);
</template>
</templates>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment