adobe / adobe/aio-lib-core-logging
Add a console.table equivalent log formatter
- Dominant language
- JavaScript
- Stars
- 3
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
### Expected Behaviour
To help with debugging and building actions, a console.table() equivalent for logger would be preferential. This would allow for Arrays and Objects to be passed and output as a table in the various log locations.
### Actual Behaviour
Currently not available (or not documented?), have to us logger.info/debug/etc and output a string.
### Reproduce Scenario (including but not limited to)
N/A
#### Steps to Reproduce
N/A
#### Platform and Version
v2.0.0
#### Sample Code that illustrates the problem
N/A
#### Logs taken while reproducing problem
N/A
Contributor guide
Research direction
Start by locating the logger.info, logger.debug, and related formatting entry points in this Node.js logging module, then inspect how output is sent to its various log locations. Done should mean Arrays and Objects can be passed through a console.table-equivalent API and appear as tables in those locations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100