Skip to content

log.hrtime usability refinement #58

@jaeh

Description

@jaeh

log.hrtime returns a time right now.

instead, it should return a function to call.

const startTime = log.hrtime()

log.timeTaken(startTime, 'message')

turns into

const hrtime = log.hrtime()

hrtime('message')

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions