ajbrown / angular-loggly-logger

An AngularJS module which sends your $log message to loggly, and provides a service for manually sending messages to loggly.
MIT License
32 stars 49 forks source link

Allow service to update token #29

Closed brennon closed 8 years ago

brennon commented 8 years ago

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.

ajbrown commented 8 years ago

@brennon One more update -- please resolve the merge conflicts.

brennon commented 8 years ago

Should be all set. Conflict was in the minified script—only solution was to revert to the minified script and map that do not include other changes in the pull request.

ajbrown commented 8 years ago

Thanks @brennon !

brennon commented 8 years ago

My pleasure, @ajbrown.