I have a need to set the input token with a value received from an API call. Injecting $http into LogglyLoggerProvider's config() isn't possible, and updating the token through the service wasn't possible, either (or, I wasn't able to figure out how to do so.) This commit exposes an inputToken() method on the service that allows the consumer to update the token after configuration.
@brennon thanks for this contribution! Can you re-open a pull request targeting the develop branch? I'll cut a release from there in a few days once it's been pulled in.
I have a need to set the input token with a value received from an API call. Injecting
$http
intoLogglyLoggerProvider
'sconfig()
isn't possible, and updating the token through the service wasn't possible, either (or, I wasn't able to figure out how to do so.) This commit exposes aninputToken()
method on the service that allows the consumer to update the token after configuration.