@dmytropaduchak/nestjs-log
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

🇺🇦 HELP UKRAINE

GOOD EVENING WE ARE FROM UKRAINE.

We fight for democratic values, for freedom, for our future. We need your support. There are dozen ways to help us, JUST DO IT.

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

Build Status Coverage Status NPM Version

Description

A simple log decorator or (TypeScript) for Nest framework (node.js) unified approach for class and function logging.

Installation

npm i --save @dmytropaduchak/nestjs-log

Quick Start

import { Log } from '@dmytropaduchak/nestjs-log';

class Service {
  @log() async test(): Promise<void> {}
}
import { LoggerService } from '@nestjs/common';
import { Log } from '@dmytropaduchak/nestjs-log';

class MyLogger extends LoggerService {}

const logger = new MyLogger();

class Service {
  @log({ logger }) async test(): Promise<void> {}
}

License

Nest is MIT licensed.

Package Sidebar

Install

npm i @dmytropaduchak/nestjs-log

Weekly Downloads

3

Version

1.0.6

License

MIT

Unpacked Size

8.19 kB

Total Files

7

Last publish

Collaborators

  • paduchak