private void log(final Severity severity, final String message, final Exception e) {
        errorReceiverProxy.log(severity, locationFactory.create(locator), getElementId(), message, e);
    }
Sets the locator to use when reporting errors.

@param locator The locator to use.
stroom-index/stroom-index-impl/src/main/java/stroom/index/impl/DynamicIndexingFilter.java