We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have some cases in my app, where I need to do something like this:
this.logger.info('Redirecting to remote...'); location.href = 'https://path/to/remote';
Obviously, log request is getting canceled, because calling document is destroyed before it completes.
So, it'd be great to be able to subscribe to logger methods like this:
this.logger.info('Redirecting to remote...').subscribe((): void => { location.href = 'https://path/to/remote'; });
or
this.logger.info('Redirecting to remote...').then((): void => { location.href = 'https://path/to/remote'; });
The text was updated successfully, but these errors were encountered:
Yes indeed
This would require some thinking whether we include the API request in this or not
Sorry, something went wrong.
Hi. Did you find this reasonable to add to the library? My log requests are still not sent due to redirects 😅.
No branches or pull requests
I have some cases in my app, where I need to do something like this:
Obviously, log request is getting canceled, because calling document is destroyed before it completes.
So, it'd be great to be able to subscribe to logger methods like this:
or
The text was updated successfully, but these errors were encountered: