Class DefaultLoggingFactory

    • Constructor Detail

      • DefaultLoggingFactory

        public DefaultLoggingFactory()
    • Method Detail

      • getLevel

        public String getLevel()
      • setLevel

        public void setLevel​(String level)
      • getLoggers

        public Map<String,​com.fasterxml.jackson.databind.JsonNode> getLoggers()
      • setLoggers

        public void setLoggers​(Map<String,​com.fasterxml.jackson.databind.JsonNode> loggers)
      • getAppenders

        public List<AppenderFactory<ch.qos.logback.classic.spi.ILoggingEvent>> getAppenders()
      • setAppenders

        public void setAppenders​(List<AppenderFactory<ch.qos.logback.classic.spi.ILoggingEvent>> appenders)
      • configure

        public void configure​(com.codahale.metrics.MetricRegistry metricRegistry,
                              String name)
        Specified by:
        configure in interface LoggingFactory
      • stop

        public void stop()
        Description copied from interface: LoggingFactory
        Should flush all log messages but not disable logging
        Specified by:
        stop in interface LoggingFactory
      • reset

        public void reset()
        Description copied from interface: LoggingFactory
        Mainly useful in testing to reset the logging to a sane default before the next test configures logging to a desired level.
        Specified by:
        reset in interface LoggingFactory