Log Level enhancement for Slf4jReporter

We use this custom reporter already.  It lets you specify alternative logging levels for Slf4jReporters.  (I wanted them to be debug, so I needed a way to configure)

Thought others might find it useful.
Yes.  Sorry about that.  I've fixed an issued a new pull request.

_________________________________________________

Steve Fosdal | steve@fosdal.net | +1 608 347 0014



On Sun, Jun 22, 2014 at 5:35 PM, Justin Plock <notifications@github.com>
wrote:

> In metrics-core/src/main/java/com/codahale/metrics/Slf4jReporter.java:
>
> > +                    loggerHelper = new TraceLoggerHelper(logger);
> > +                    break;
> > +                case DEBUG:
> > +                    loggerHelper = new DebugLoggerHelper(logger);
> > +                    break;
> > +                case INFO:
> > +                    loggerHelper = new InfoLoggerHelper(logger);
> > +                    break;
> > +                case WARN:
> > +                    loggerHelper = new WarnLoggerHelper(logger);
> > +                    break;
> > +                case ERROR:
> > +                    loggerHelper = new ErrorLoggerHelper(logger);
> > +                    break;
> > +            }
> > +            loggerHelper = new DebugLoggerHelper(logger);
>
> Isn't this always going to be set to debug?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/dropwizard/metrics/pull/603/files#r14057109>.
>