Eclipse SLF4J Template


/ Published in: XML
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <templates>
  3. <template autoinsert="true" context="java" deleted="false" description="SLF4J logger" enabled="true" name="logger">
  4. private static final Logger LOGGER = LoggerFactory.getLogger(${enclosing_type}.class);&#13;
  5. ${imp:import(org.slf4j.LoggerFactory)}&#13;
  6. ${imap:import(org.slf4j.Logger)}
  7. </template>
  8. </templates>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.