class ConsolePublisher implements Publisher {

    private static final Logger LOGGER = Logger.getLogger(ConsolePublisher.class);
    private static final PebbleEngine ENGINE = new PebbleEngine.Builder().newLineTrimming(false).build();

    public void inform(final PublishContext ctx, final Notification notification, final JsonObject config) {<FILL_FUNCTION_BODY>}

    @Override
    public PebbleEngine getTemplateEngine() {
        return ENGINE;
    }
}

        final String content;
        try {
            content = prepareTemplate(notification, getTemplate(config));
        } catch (IOException | RuntimeException e) {
            LOGGER.error("Failed to prepare notification content (%s)".formatted(ctx), e);
            return;
        }
        final PrintStream ps;
        if (notification.getLevel() == NotificationLevel.ERROR) {
            ps = System.err;
        } else {
            ps = System.out;
        }
        ps.println(content);
    
<no_super_class>