1.0.10 • Published 1 year ago

@vdocdk/nestjs-winston-seq v1.0.10

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Installation

  1. npm i @vdocdk/nestjs-winston-seq
  2. init with config.

Usage

import { LibLoggerConfig, LogWrapperService } from '@vdocdk/nestjs-winston-seq';

const loggerConfig: LibLoggerConfig = {
  apiKey: '<apiKey>',//genereated token
  serverUrl: '<serverUrl>',//url for the seq server. remembers http(s)://x.x.x.x:5341
  defaultMeta: { application: '<application>' }, // optional, just a object
};

const app = await NestFactory.create(AppModule, {
  logger: new LogWrapperService(loggerConfig),
});

Author

Jonas Hansen

License

Licensed under the MIT License - see the LICENSE file for details.

1.0.9

1 year ago

1.0.10

1 year ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago