/** * Starts the {@link ContextAwareReporter}. If the {@link ContextAwareReporter} has been started * (and not stopped since), this is a no-op. */ public final void start() { if (this.started) { log.warn(String.format("Reporter %s has already been started.", this.name)); return; } try { startImpl(); this.started = true; } catch (Exception exception) { log.warn(String.format("Reporter %s did not start correctly.", this.name), exception); } }
/** * Starts the {@link ContextAwareReporter}. If the {@link ContextAwareReporter} has been started * (and not stopped since), this is a no-op. */ public final void start() { if (this.started) { log.warn(String.format("Reporter %s has already been started.", this.name)); return; } try { startImpl(); this.started = true; } catch (Exception exception) { log.warn(String.format("Reporter %s did not start correctly.", this.name), exception); } }