@rduk/logger-winston-loggly-factory
v0.1.1
Published
Loggly transport factory for Winston implementation of RDUK logger
Downloads
8
Maintainers
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-loggly-factory
Configuration
# config.yml (see @rduk/configuration for detail)
---
logger:
default: winston
providers:
-
name: winston
type: '@rduk/logger-winston-provider'
level: debug
factories:
loggly: '@rduk/logger-winston-loggly-factory'
transports:
loggly: # options passed to factory
token: ${LOGGLY_TOKEN}
subdomain: ${LOGGLY_SUBDOMAIN}
tags:
- my-api
json: true
That's it!
License and copyright
See LICENSE file