zalando/logbook

Is it possible to make a new instance of Logbook based on the existing one with some modifications?

amseager opened this issue · 4 comments

Suppose I created a Logbook instance with Logbook.builder()....build() method (or took it from Spring's logbook auto config).
Now I need to create another one with overriding e.g. bodyFilter(). I plan to use it only for specific externall calls. Can I use the original object as a base for a new one?

I just thought that it could be possible to have smth like Logbook.builder().with(existingLogbook).....build() as we have in many other libraries