-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
featnew feature (which has been agreed to/accepted)new feature (which has been agreed to/accepted)good first issueGood for newcomersGood for newcomers
Description
Version: Deno 1.40.2
Logging an object only prints the first 100 characters of any strings in the object. This default needs to be higher. I see there is Deno.inspect but I'd rather not call console.log(Deno.inspect(value, { colors: true, strAbbreviateSize: 1000 }))
every time I need to log to console. Node.js displays 10,000 characters. 1,000 would be better than 100.
console.log({ a: 'x'.repeat(150) });
{
a: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"... 50 more characters
}
console.log(Deno.inspect({ a: 'x'.repeat(150) }, { colors: true, strAbbreviateSize: 1000 }));
{
a: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
oles
Metadata
Metadata
Assignees
Labels
featnew feature (which has been agreed to/accepted)new feature (which has been agreed to/accepted)good first issueGood for newcomersGood for newcomers