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
Unfortunately, the truncation is processed by console.debug() and friends, which is built in the JavaScript runtime, hence we can't fix it. However, if you use other sinks than a console sink like a stream sink, you can work around this limitation.
I'm trying to log errors like this:
In Deno (v2.1.8), the big string gets rendered as a string literal, which breaks each line up into
"{the line}\n" +
… but eventually it gets truncated with something like:
... 44575 more characters
.This also exhibits the error:
But just concatenating up-front avoids the issue:
Up-front string concatenation isn't ideal, in case we want to disable a given log level. (If this were, say,
debug
level.)The text was updated successfully, but these errors were encountered: