Open rogerkjoy opened 4 years ago
The object tree depth on the console is insufficient for some uses. Need to be able to specify layout options for the message via the util's formatWithOptions parameter InspectOptions
formatWithOptions
InspectOptions
log4js/lib/layouts.js: 165
function formatMessage(loggingEvent) { return util.formatWithOptions({colors: true, depth: 3, compact: true, breakLength: 80, showHidden: true}, ...loggingEvent.data); }
@rogerkjoy Hello. A pull request with a test would be welcome 😉
Related to https://github.com/log4js-node/log4js-node/issues/1154
The object tree depth on the console is insufficient for some uses. Need to be able to specify layout options for the message via the util's
formatWithOptions
parameterInspectOptions
log4js/lib/layouts.js: 165