Does the `AccountProvider` need to be created once...
# random
f
Does the
AccountProvider
need to be created once for each request? If so, perhaps you should provide an
AccountProviderFactory
instead, where the logger is stored and bound to an
AccountProvider
instance as needed. This
Factory
could govern lifecycle concerns - laziness, reuse, pooling, etc., while still making the runtime dependency explicit.