throw new RuntimeException(e);
}
}
private void addStagemonitorLogger(Configuration configuration, P6SpyLoadableOptions options) {
P6SpyMultiLogger.addLogger(new StagemonitorP6Logger(configuration, metricRegistry));
if (p6SpyAlreadyConfigured) {
P6SpyMultiLogger.addLogger(options.getAppenderInstance());
}
options.setAppender(P6SpyMultiLogger.class.getCanonicalName());
}