injectedlogger: add InjectedLogger.inject method
injectedlogger: add InjectedLogger.inject method

This allows users to set up a logger method that falls back to
a setup block when no logger has been use()'d and then redefines
itself so that there is no performance overhead.

unleashed/injectedlogger