class Logger {

    private final java.util.logging.Logger LOGGER;

    private final boolean JMX_PROMETHEUS_EXPORTER_DEVELOPER_DEBUG =
            "true".equals(System.getenv("JMX_PROMETHEUS_EXPORTER_DEVELOPER_DEBUG"))
                    || "true".equals(System.getProperty("jmx.prometheus.exporter.developer.debug"));

    /**
     * Constructor
     *
     * @param clazz clazz
     */
    Logger(Class<?> clazz) {
        LOGGER = java.util.logging.Logger.getLogger(clazz.getName());
    }

    /**
     * Method to return whether a log level is enabled
     *
     * @param level level
     * @return true if the log level is enabled, else false
     */
    public boolean isLoggable(Level level) {
        return LOGGER.isLoggable(level);
    }

    /**
     * Method to log a message
     *
     * @param level level
     * @param message message
     * @param objects objects
     */
    public void log(Level level, String message, Object... objects) {<FILL_FUNCTION_BODY>}
}

        if (LOGGER.isLoggable(level)) {
            LOGGER.log(level, String.format(message, objects));
        }

        if (JMX_PROMETHEUS_EXPORTER_DEVELOPER_DEBUG) {
            System.out
                    .format("[%s] %s %s", level, LOGGER.getName(), String.format(message, objects))
                    .println();
        }
    
<no_super_class>