log-decorator

1.1.3 • Public • Published

log-decorator

Log decorator

Requirements and Use

npm install log-decorator --save

Use

import log from 'log-decorator';

class A {
  constructor() {}
  @log
  get(a,b,c) {
    return 3;
  }
}

Output

get method called with [ { a: 2 }, 2 ]
get method returns 3

Readme

Keywords

Package Sidebar

Install

npm i log-decorator

Weekly Downloads

8

Version

1.1.3

License

Apache-2.0

Last publish

Collaborators

  • jlopezxs