1.0.3 • Published 2 years ago

@rockads/data-suite-logger v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Welcome to @rockads/data-suite-logger!

data-suite-logger is library of getting inheritance from graylog2 library for GrayLog systems. data-suite-logger should use overwrite on console object of node.js core global api.

Use

    var  logger = require("../logger");
    
    console = logger(config);

config is required about using graylog2 library for connection and writing to Graylog

config object must be inside of below object

  servers: [{ host: "localhost", port: 12201 }],
  hostname: "localhost",
  facility: "LambdaFunctions",
  bufferSize: 1350,
  level:7
  enabled:true
1.0.2

2 years ago

1.0.3

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago