New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

fruster-log

Package Overview
Dependencies
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fruster-log

Logger for Fruster (micro) services

latest
Source
npmnpm
Version
0.1.2
Version published
Weekly downloads
36
28.57%
Maintainers
2
Weekly downloads
 
Created
Source

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"

Keywords

fruster

FAQs

Package last updated on 09 May 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts