create an eclipse auto-complete template for creating a logger
Window -> Show View -> Other.. -> Templates
new java template
name logger
${:import(org.apache.commons.logging.LogFactory,org.apache.commons.logging.Log)}
private final static Log log = LogFactory.getLog(${enclosing_type}.class);
now ctrl+space and logger will save you some typing
Thursday, July 14, 2011
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment