You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This isn't a bug, but I just wanted to document somewhere that to get tslog to work inside of NextJS middleware (which uses the Edge runtime, which is neither Node nor a browser) I had to set hideLogPositionForProduction to be true:
This isn't a bug, but I just wanted to document somewhere that to get tslog to work inside of NextJS middleware (which uses the Edge runtime, which is neither Node nor a browser) I had to set
hideLogPositionForProduction
to betrue
:Otherwise, I believe tslog thinks it's running in a browser environment, and crashes when accessing fields of globals like
origin
which are undefined:The text was updated successfully, but these errors were encountered: