@Override
    @SuppressWarnings("deprecation")
    public void log(Level level, Supplier<String> supplier, Throwable throwable) {
        // Also tee to a normal log, Vespa log for example, but use level fine
        log.log(Level.FINE, throwable, () -> prefix + supplier.get());

        if (level.intValue() <= LogLevel.DEBUG.intValue() && !verbose) return;
        synchronized(logroot) {
            logJson(level, supplier.get());
        }
    }
A {@link DeployLogger} which stores messages in a {@link Slime} tree, and holds a tenant and application name.

@author Ulf Lilleengen
configserver/src/main/java/com/yahoo/vespa/config/server/deploy/DeployHandlerLogger.java