@rduk/logger-winston-mail-factory
v0.0.1
Published
Mail transport factory for Winston implementation of RDUK logger
Downloads
4
Readme
RDUK - Loggly transport factory for Winston
this module is a Loggly transport factory for the Winston implementation of RDUK logger
Installation
npm i --save --save-exact @rduk/logger @rduk/logger-winston-provider @rduk/logger-winston-mail-factory
Configuration
# config.yml (see @rduk/configuration for detail)
---
logger:
default: winston
providers:
-
name: winston
type: '@rduk/logger-winston-provider'
level: debug
factories:
mail: '@rduk/logger-winston-mail-factory'
transports:
mail: # options passed to factory
...
That's it!
License and copyright
See LICENSE file