• Embed isTraceEnabled() Statement
    If checked isTraceEnabled() surrounds the trace statement.

    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()) {

    //Your code....
  • Use braces when embedding a is<Level>Enabled() statement [pro version only]

    When not checked, the generation of braces will be omitted. Example:
    if (logger.isDebugEnabled())
Joomla templates by a4joomla