adobe / aio-lib-core-logging

Node.js Logger module for use by the Adobe I/O SDK
https://adobe.io
Apache License 2.0
2 stars 4 forks source link

Add variable argument support for DebugLogger #12

Closed shazron closed 4 years ago

shazron commented 4 years ago

Description

Right now the Debug logger can only accept one argument. Add a "pass-through" to the debug module, by passing variable arguments.

Related Issue

Motivation and Context

Flexibility in logging.

How Has This Been Tested?

npm test

Screenshots (if appropriate):

Types of changes

Checklist:

codecov[bot] commented 4 years ago

Codecov Report

Merging #12 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #12   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           3      3           
  Lines          89     89           
  Branches       12     12           
=====================================
  Hits           89     89
Impacted Files Coverage Δ
src/DebugLogger.js 100% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 037a2f7...df6728a. Read the comment docs.