ts-log-decorator
v0.0.11
Published
Decorators for typescript to make easy logging faster
Downloads
5
Maintainers
Readme
@TypeScript Log Decorator
A Node.js module that allow fast logging of class creation, methods and its arguments
Installation
npm install ts-log-decorator --D
Usage
TypeScript
import { log } from 'ts-log-decorator';
@log() class User {
private: _name: string
@log() setUser(@log() name: string): string {
this._name = name;
}
};