Wednesday, December 17, 2014

SLF4J Template for Eclipse

In Preference > Java > Editor > Templates

Insert the following template:
${l:import(org.slf4j.Logger)}
${f:import(org.slf4j.LoggerFactory)}
private static final Logger LOG = LoggerFactory.getLogger(${enclosing_type}.class);

No comments:

Post a Comment