0.1.2 • Published 3 years ago

fruster-log v0.1.2

Weekly downloads
175
License
MIT
Repository
github
Last release
3 years ago

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"
0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.18

6 years ago

0.0.17

6 years ago

0.0.16

6 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago