class StatefulService implements Service {

    public void log(Level level, String fmt, Object... args) {
        doLogging(level, () -> String.format(fmt, args));
    }

    public  StatefulService(Class<? extends ServiceDocument> stateType);

}