1.0.0-alpha.17 • Published 10 days ago
@fruster/log v1.0.0-alpha.17
Fruster log
A ready configured Winston logger that reads log level from environment.
The logger can also be configured to log to a Papetrail (and possibly other) remote syslog destination.
Usage
To install:
npm install fruster-log --save
To use in app:
const log = require('fruster-log');
log.debug('Hello', 'world');
Configuration
# Applications log level (error|warn|info|debug|silly)
LOG_LEVEL = "debug"
# Syslog host and port, if any
# Example: `localhost:5499`
SYSLOG = null
# Name of syslog
SYSLOG_NAME = "fruster noname"
# Syslog program name
SYSLOG_PROGRAM = "default"
# Log level that will log remotely
REMOTE_LOG_LEVEL = "error"
1.0.0-alpha.17
10 days ago
1.0.0-alpha.15
2 years ago
1.0.0-alpha.10
2 years ago
1.0.0-alpha.12
2 years ago
1.0.0-alpha.11
2 years ago
1.0.0-alpha.14
2 years ago
1.0.0-alpha.13
2 years ago
1.0.0-alpha.8
2 years ago
1.0.0-alpha.7
2 years ago
1.0.0-alpha.6
2 years ago
1.0.0-alpha.4
2 years ago
1.0.0-alpha.3
2 years ago
1.0.0-alpha.2
2 years ago
1.0.0-alpha.0
2 years ago
1.0.0-alpha.1
2 years ago