slashmo / gsoc-swift-baggage-context

BaggageContext library, extracted from slashmo/gsoc-swift-tracing
https://github.com/slashmo/gsoc-swift-tracing
Apache License 2.0
4 stars 2 forks source link

!logging #30 logger need not be { set } #31

Closed ktoso closed 3 years ago

ktoso commented 3 years ago

resolves #30

ktoso commented 3 years ago

I think this works out well, because if a context wanted to allow this they can do whatever they want, but generally they should not because this should be implemented as someUnderlyingLogger.with(context: context) so it's always a computed property anyway