Neologistic Paraphasic Mumbling
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    fluent-logger-nodepublic

    Fluent Logger Node.js

    fluent-logger-node is a structured event logger for Fluent.

    Build Status

    Requirements

    • Node.js v0.6 or higher
    • fluentd

    Installation

    npm install fluent-logger-node

    Usage

    var fluent = require('fluent-logger-node');
    var logger = fluent.createLogger();
     
    logger.post("debug.test", {hello: "world!"});
    // output: debug.test {"hello":"world!"}
     
     
     
    var logger = fluent.createLogger({
      host: "127.0.0.1",
      port: 24224,
      tagPrefix: "app"
    });
     
    logger.post("test", {hello: "world!"});
    // output: app.test {"hello":"world!"}

    License

    The MIT License

    Contributors

    • Dai Akatsuka
    • Minoru Takase

    Keywords

    none

    install

    npm i fluent-logger-node

    Downloadslast 7 days

    22

    version

    0.0.3

    license

    none

    repository

    github.com

    last publish

    collaborators

    • avatar