fellshard
07/27/2016, 5:01 PMAccountProvider 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.