Neurological Phenomenon Multiplexer

    winston-logstash-format

    0.2.0 • Public • Published

    Winston Logstash Format

    Build Status Dependency Status Dev Dependency Status

    A Wrapper that formats the output on STDOUT as Logstash format into a Singleton.

    Install

    cd some-project
    npm i --save winston-logstash-format

    Configuration

    APP_NAME: Nome of your project;
    HOST: The host where your project is running.

    Usage

    const logger = require('winston-logstash-format');
     
    logger.info('Hello World!');

    Output

    {
      "@timestamp":  "2017-04-28T21:43:50.721",
      "@version":    1,
      "environment": "production",
      "message":     "Hello World",
      "severity":    "info"
    }

    Install

    npm i winston-logstash-format

    DownloadsWeekly Downloads

    1

    Version

    0.2.0

    License

    none

    Last publish

    Collaborators

    • felipesaev
    • getninjas-tech
    • costalince
    • trevelint