Preferences:Statements

Statements

Options:

The statements themselves are defined in Log4E (Templates) > Is<Level>Enabled Statements and Log4E (Templates) > Is<Position>Enabled Statements

As a result the logger statements are automatically inserted like in that example:

	public String myMethod(String arg1) {
		if (logger.isDebugEnabled()) {
			logger.debug(...);
		}
		
		//Your code....
	}