Additional data to be logged.
Example:
{ port: 3000 }{ error: new Error('Something went wrong.') }{ status: 500, error: new Error('Something went wrong.') } Copy
{ port: 3000 }{ error: new Error('Something went wrong.') }{ status: 500, error: new Error('Something went wrong.') }
Deeply nested data:
{ user: { id: 1, name: 'Alice', friends: [{ id: 2, name: 'Bob' }] } }// If maximum depth of the data to collect is 2.{ user: { id: 1, name: 'Alice', friends: '[[Truncated]]' } } Copy
{ user: { id: 1, name: 'Alice', friends: [{ id: 2, name: 'Bob' }] } }// If maximum depth of the data to collect is 2.{ user: { id: 1, name: 'Alice', friends: '[[Truncated]]' } }
Additional data to be logged.
Example:
Deeply nested data: