2.0.0 • Published 11 months ago

@vdocdk/nestjs-winston-seq v2.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

Installation

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

Usage

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

const DEFAULT_MODULE_CONFIG: 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.

2.0.0

11 months ago

1.0.9

3 years ago

1.0.10

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago