class MojoLogWrapper implements Log {
    private final Logger logger;

    public MojoLogWrapper(Logger logger) {
        this.logger = requireNonNull(logger);
    }

    public void debug(CharSequence content) {
        if (isDebugEnabled()) {
            logger.debug(toString(content));
        }
    }

    private String toString(CharSequence content) {<FILL_FUNCTION_BODY>}

    @Override
    public void debug(CharSequence content, Throwable error) {
        if (isDebugEnabled()) {
            logger.debug(toString(content), error);
        }
    }

    @Override
    public void debug(Throwable error) {
        logger.debug("", error);
    }

    @Override
    public void info(CharSequence content) {
        if (isInfoEnabled()) {
            logger.info(toString(content));
        }
    }

    @Override
    public void info(CharSequence content, Throwable error) {
        if (isInfoEnabled()) {
            logger.info(toString(content), error);
        }
    }

    @Override
    public void info(Throwable error) {
        logger.info("", error);
    }

    @Override
    public void warn(CharSequence content) {
        if (isWarnEnabled()) {
            logger.warn(toString(content));
        }
    }

    @Override
    public void warn(CharSequence content, Throwable error) {
        if (isWarnEnabled()) {
            logger.warn(toString(content), error);
        }
    }

    @Override
    public void warn(Throwable error) {
        logger.warn("", error);
    }

    @Override
    public void error(CharSequence content) {
        if (isErrorEnabled()) {
            logger.error(toString(content));
        }
    }

    @Override
    public void error(CharSequence content, Throwable error) {
        if (isErrorEnabled()) {
            logger.error(toString(content), error);
        }
    }

    @Override
    public void error(Throwable error) {
        logger.error("", error);
    }

    @Override
    public boolean isDebugEnabled() {
        return logger.isDebugEnabled();
    }

    @Override
    public boolean isInfoEnabled() {
        return logger.isInfoEnabled();
    }

    @Override
    public boolean isWarnEnabled() {
        return logger.isWarnEnabled();
    }

    @Override
    public boolean isErrorEnabled() {
        return logger.isErrorEnabled();
    }
}

        if (content == null) {
            return "";
        } else {
            return content.toString();
        }
    
<no_super_class>