class LoggingDeprecationHandler implements DeprecationHandler {

    public static final LoggingDeprecationHandler INSTANCE = new LoggingDeprecationHandler();

    /**
     * The logger to which to send deprecation messages.
     *
     * This uses ParseField's logger because that is the logger that
     * we have been using for many releases for deprecated fields.
     * Changing that will require some research to make super duper
     * sure it is safe.
     */
    private static final DeprecationLogger DEPRECATION_LOGGER = new DeprecationLogger(LogManager.getLogger(ParseField.class));

    private LoggingDeprecationHandler() {
        // Singleton
    }

    @Override
    public void usedDeprecatedName(String usedName, String modernName) {<FILL_FUNCTION_BODY>}

    @Override
    public void usedDeprecatedField(String usedName, String replacedWith) {
        DEPRECATION_LOGGER.deprecatedAndMaybeLog(
            "deprecated_field", "Deprecated field [{}] used, replaced by [{}]", usedName, replacedWith);
    }
}

        DEPRECATION_LOGGER.deprecatedAndMaybeLog(
            "deprecated_field", "Deprecated field [{}] used, expected [{}] instead", usedName, modernName);
    
<no_super_class>