@Impure @Override protected final void execute() throws Exception { Log.debugging("The initializer " + this + " begins its execution."); final long start = System.currentTimeMillis(); executeWithoutLogging(); final long end = System.currentTimeMillis(); Log.debugging("The initializer " + this + " ends its execution in " + (end - start) + " ms."); }
/** * Creates and registers this initializer with the given target and dependencies. */ protected LoggingInitializer(@NonCaptured @Modified @Nonnull Configuration<?> target, @NonCaptured @Unmodified @Nonnull @NonNullableElements Configuration<?>... dependencies) { super(target, dependencies); Log.debugging("The initializer " + this + " was loaded."); }