@instaffogmbh/make-prefixed-logger

0.1.1 • Public • Published

@instaffogmbh/make-prefixed-logger

Log arguments with your prefixes prefixed.

API

This module exports one function:

const pl = makePrefixedLogger(origLogger[, ...prefixArgs])

Returns a function that concatenates all its arguments to the prefixArgs, then proxies the combined arguments to origLogger. Similarly, pl will carry proxy methods for all methods found on origLogger.

 

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @instaffogmbh/make-prefixed-logger

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

4.61 kB

Total Files

9

Last publish

Collaborators

  • bhanu.pv
  • instaffo