logdna / logdna-browser

A frontend browser logging and exception capturing library for LogDNA
MIT License
19 stars 14 forks source link

fix(ssr): Fix the ability to use the logger with SSR frameworks #42

Closed TerryMooreII closed 2 years ago

TerryMooreII commented 2 years ago

Summary: A change was introduced that attempted to call window during the browser logger bootstrap, this is fine execpt SSR frameworks dont have a concept of window during their initial rendering. This will now delay caching of the original console instance until after the logger is enabled.

Semver: patch

logdnabot commented 2 years ago

:tada: This PR is included in version 2.0.10 :tada:

The release is available on:

Your semantic-release bot :package::rocket: