505152535455565758
// initialize final Logger rootLogger = (Logger) LoggerFactory.getLogger("ROOT"); // attach myAppender = new CrashAppender(config, reporter); myAppender.setContext(rootLogger.getLoggerContext()); rootLogger.addAppender(myAppender); }
545556575859606162