We're updating the issue view to help you get more done. 

Allow chaining of logger programmatic config methods

Description

Return this from

  • addAppender()

  • setLevelMax()

  • setLevelMin()

Then this code:

1 2 3 4 var root = logBox.getRootLogger(); root.addAppender( newAppender ); root.setLevelMax( 4 ); root.setLevelMin( 0 );

Can turn into this:

1 2 3 4 logBox.getRootLogger() .addAppender( newAppender ) setLevelMax( 4 ) setLevelMin( 0 );

Status

Assignee

Luis Majano

Reporter

Brad Wood

Labels

None

Components

Fix versions

Priority

Major