🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

kolaz-bundle-winston

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

kolaz-bundle-winston

Kolaz bundle provides Winston log service

unpublished
latest
Source
npmnpm
Version
0.2.0
Version published
Maintainers
1
Created
Source

Bundle Winston

The Winston bundle adds the essential logging service to your Kolaz application.

Prerequisites

This version of Winston bundle requires Kolaz 0.1.1.

Installation

Step 1: Download

npm install kolaz-bundle-winston

Step 2: Enable

import { WinstonLogger } from "kolaz-bundle-winston";

export class App extends BaseKernel {
    registerBundles() {
        return [
            // ...
            new WinstonLogger()
            // ...
        ];
    }
}

Step 3: Configure

{
    // ...
    "log": {
        "console": {
            "level": "debug",
            "silent": false
        },
        "sumologic": {
            "level": "info",
            "silent": true, // Set this value to false to enable SumoLogic transport
            "ssl": true,
            "host": "<HOST>",
            "path": "<PATH>" 

        },
        "logentries": {
            "level": "info",
            "silent": true, // Set this value to false to enable LogEntries transport
            "ssl": true,
            "host": "<HOST>",
            "path": "<PATH>"
        }
    }
    // ...
}

Keywords

nodejs

FAQs

Package last updated on 19 Apr 2020

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