adobe / adobe/aio-lib-core-logging

Add a console.table equivalent log formatter

Open
#35 2 comments 0 reactions 0 assignees View on GitHub
enhancement
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.