adobe / adobe/aio-lib-core-logging

Have an equivalent to console.time() and console.timeEnd() logging

Open
#50 1 comment 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
Have an equivalent to console.time() and console.timeEnd() logging, to provide rough timing of internal functions.

### Actual Behaviour
logger.time() is not a function.

### Reproduce Scenario (including but not limited to)
Inside an App Builder action, add a timing function.

#### Steps to Reproduce

#### Platform and Version

#### Sample Code that illustrates the problem

#### Logs taken while reproducing problem

Contributor guide

Open the contributing guide

Research direction

Start with the logger API used inside an App Builder action and compare its available methods with console.time() and console.timeEnd(). The requested behavior is rough timing for internal functions through logger.time() and logger.timeEnd(); no specific files or tests are named, so inspect the logger entry point first.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
observability-sre
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.