code: public boolean isEquivalent(final Plugin testPlugin) {
          return (repository == testPlugin.getLoggerRepository())
                  && ((this.name == null && testPlugin.getName() == null)
                  || (this.name != null
                             && name.equals(testPlugin.getName())))
                  && this.getClass().equals(testPlugin.getClass());
      }
docs: Returns true if the plugin has the same name and logger repository as the
  testPlugin passed in.
  
  @param testPlugin The plugin to test equivalency against.
  @return Returns true if testPlugin is considered to be equivalent.