code: @Override
      public final void initialize(final Log log) {
  
          // Check sanity
          Validate.notNull(log, "log");
  
          // Assign internal state
          this.log = log;
  
          if (delayedLogMessages.size() > 0) {
              for (DelayedLogMessage current : delayedLogMessages) {
                  if (current.logLevel.equalsIgnoreCase("warn") && log.isWarnEnabled()) {
                      log.warn(current.message);
                  } else if (current.logLevel.equals("info") && log.isInfoEnabled()) {
                      log.info(current.message);
                  } else if (log.isDebugEnabled()) {
                      log.debug(current.message);
                  }
              }
  
              delayedLogMessages.clear();
          }
  
          // Delegate
          onInitialize();
      }
docs: {@inheritDoc}